Skip to content

Commit

Permalink
Update automated-ios-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-128 authored Jan 26, 2025
1 parent 99558f1 commit df4cf2f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/automated-ios-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,24 @@ jobs:
code-signing-identity: ${{ secrets.CODE_SIGNING_IDENTITY }}
team-id: ${{ secrets.TEAM_ID }}
output-path: qBitControl.ipa
- name: Extract Version and Build Number
id: extract_version
run: |
TAG="${GITHUB_REF#refs/tags/}"
echo "Full Tag: $TAG"
VERSION=$(echo "$TAG" | cut -d '-' -f 3)
BUILD_NUMBER=$(echo "$TAG" | cut -d '-' -f 4)
echo "Extracted Version: $VERSION"
echo "Extracted Build Number: $BUILD_NUMBER"
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "BUILD_NUMBER=$BUILD_NUMBER" >> $GITHUB_ENV
- name: "Update Release"
if: startsWith(github.ref, 'refs/tags/build-ci')
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
automatic_release_tag: "CI"
title: "qBitControl CI"
title: "qBitControl ${{ env.VERSION }} (${{ env.BUILD_NUMBER }})"
files: |
qBitControl.ipa

0 comments on commit df4cf2f

Please sign in to comment.