Skip to content

Commit 798b036

Browse files
committed
update the build yml for nightly stuff
1 parent 4299ab5 commit 798b036

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/build_ipa.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,18 @@ jobs:
5858
path: StikDebug.ipa
5959
retention-days: 90
6060

61-
- name: Create or Update GitHub Release (GitHub-Alpha)
61+
- name: Read app version
62+
id: version
63+
run: |
64+
VERSION=$(sed -n 's/.*MARKETING_VERSION = \(.*\);/\1/p' StikDebug.xcodeproj/project.pbxproj | head -1 | xargs)
65+
echo "app_version=$VERSION" >> "$GITHUB_OUTPUT"
66+
67+
- name: Create or Update GitHub Release (Nightly)
6268
if: env.UPLOAD_IPA == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main'
6369
uses: softprops/action-gh-release@v2
6470
with:
65-
tag_name: GitHub-Alpha
66-
name: GitHub-Alpha
71+
tag_name: Nightly
72+
name: "Nightly - v${{ steps.version.outputs.app_version }}"
6773
prerelease: true
6874
generate_release_notes: false
6975
target_commitish: ${{ github.sha }}

0 commit comments

Comments
 (0)