mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-08 22:33:26 +01:00
- Beta-Builds: Updated bundleID suffix with beta build to match source
This commit is contained in:
1
.github/workflows/alpha.yml
vendored
1
.github/workflows/alpha.yml
vendored
@@ -14,6 +14,7 @@ jobs:
|
||||
uses: ./.github/workflows/reusable-build-workflow.yml
|
||||
with:
|
||||
bundle_id: "com.SideStore.SideStore.Alpha"
|
||||
bundle_id_suffix: ".Alpha"
|
||||
is_beta: true
|
||||
publish: true
|
||||
is_shared_build_num: false
|
||||
|
||||
1
.github/workflows/nightly.yml
vendored
1
.github/workflows/nightly.yml
vendored
@@ -61,6 +61,7 @@ jobs:
|
||||
uses: ./.github/workflows/reusable-build-workflow.yml
|
||||
with:
|
||||
bundle_id: "com.SideStore.SideStore.Nightly"
|
||||
bundle_id_suffix: ".Nightly"
|
||||
is_beta: true
|
||||
publish: true
|
||||
is_shared_build_num: false
|
||||
|
||||
@@ -30,6 +30,10 @@ on:
|
||||
default: com.SideStore.SideStore
|
||||
required: true
|
||||
type: string
|
||||
bundle_id_suffix:
|
||||
default: ''
|
||||
required: false
|
||||
type: string
|
||||
|
||||
secrets:
|
||||
# GITHUB_TOKEN:
|
||||
@@ -217,6 +221,7 @@ jobs:
|
||||
- name: Build SideStore
|
||||
# using 'tee' to intercept stdout and log for detailed build-log
|
||||
run: |
|
||||
echo "BUNDLE_ID_SUFFIX=${{ inputs.bundle_id_suffix }}" >> $GITHUB_ENV
|
||||
NSUnbufferedIO=YES make build 2>&1 | tee build.log | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
|
||||
|
||||
- name: Fakesign app
|
||||
|
||||
@@ -106,7 +106,12 @@ new_version = {
|
||||
"size": SIZE,
|
||||
"sha256": SHA256,
|
||||
}
|
||||
versions.insert(0, new_version)
|
||||
|
||||
if versions is []:
|
||||
versions.append(new_version)
|
||||
else:
|
||||
# versions.insert(0, new_version) # insert at front
|
||||
versions[0] = new_version # replace top one
|
||||
|
||||
# Save the updated JSON to the input file
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user