@livx.cc/appwrap 0.39.1 → 0.39.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -13,16 +13,18 @@ on:
|
|
|
13
13
|
push:
|
|
14
14
|
tags: ['v*']
|
|
15
15
|
|
|
16
|
-
# Monotonic store build number (Android versionCode)
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
# Monotonic store build number (Android versionCode): computed in the shell below — GitHub Actions
|
|
17
|
+
# expressions have NO arithmetic operators, so `${{ github.run_number + 100 }}` is an INVALID workflow
|
|
18
|
+
# expression → startup_failure on EVERY push (not just tags). appwrap CLI reads APPWRAP_BUILD_NUMBER
|
|
19
|
+
# over the constant derived default — Play rejects a versionCode it has already seen. run_number is increasing.
|
|
20
20
|
|
|
21
21
|
jobs:
|
|
22
22
|
play:
|
|
23
23
|
runs-on: ubuntu-latest
|
|
24
24
|
steps:
|
|
25
25
|
- uses: actions/checkout@v5
|
|
26
|
+
- name: Build number (run_number + 100 — arithmetic must be done in the shell, not an expression)
|
|
27
|
+
run: echo "APPWRAP_BUILD_NUMBER=$(( ${{ github.run_number }} + 100 ))" >> "$GITHUB_ENV"
|
|
26
28
|
- uses: oven-sh/setup-bun@v2
|
|
27
29
|
- uses: actions/setup-node@v5
|
|
28
30
|
with: { node-version: 22 }
|
|
@@ -14,17 +14,19 @@ on:
|
|
|
14
14
|
push:
|
|
15
15
|
tags: ['v*']
|
|
16
16
|
|
|
17
|
-
# Monotonic store build number (CFBundleVersion)
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
# Monotonic store build number (CFBundleVersion): computed in the shell below — GitHub Actions
|
|
18
|
+
# expressions have NO arithmetic operators, so `${{ github.run_number + 100 }}` is an INVALID workflow
|
|
19
|
+
# expression → startup_failure on EVERY push (not just tags). run_number is strictly increasing; +100
|
|
20
|
+
# clears low derived values. The appwrap CLI reads APPWRAP_BUILD_NUMBER and it wins over the derived
|
|
21
|
+
# default — without it, repeat uploads of the same marketing version 409 ("build already exists").
|
|
22
22
|
|
|
23
23
|
jobs:
|
|
24
24
|
testflight:
|
|
25
25
|
runs-on: macos-15
|
|
26
26
|
steps:
|
|
27
27
|
- uses: actions/checkout@v5
|
|
28
|
+
- name: Build number (run_number + 100 — arithmetic must be done in the shell, not an expression)
|
|
29
|
+
run: echo "APPWRAP_BUILD_NUMBER=$(( ${{ github.run_number }} + 100 ))" >> "$GITHUB_ENV"
|
|
28
30
|
# Apple requires the iOS 26 SDK (Xcode 26+) for uploads — runners may default to older Xcode.
|
|
29
31
|
- uses: maxim-lobanov/setup-xcode@v1
|
|
30
32
|
with: { xcode-version: latest-stable }
|