Skip to content

Commit

Permalink
fix: Update release-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rashadatjou authored Aug 11, 2023
1 parent 67e3a94 commit 1f64e0b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Get current tag
run: echo "GIT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- name: Extract Tag Name
id: tag_name
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
if: github.event_name == 'release'
- name: Update Package.swift with release ref
run: ./Scripts/UpdatePackageManifest.bash ${{ GIT_TAG }}
run: ./Scripts/UpdatePackageManifest.bash $TAG_NAME
if: github.event_name == 'release'
- name: Update Package.swift with new version
run: ./Scripts/UpdatePackageManifest.bash ${{ github.event.inputs.newVersion }}
Expand Down

0 comments on commit 1f64e0b

Please sign in to comment.