File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,14 @@ jobs:
3535 - name : Get current SDK version
3636 id : current_version
3737 run : |
38- CURRENT_VERSION =$(grep "bundleVersion:" ProjectSettings /ProjectSettings.asset | sed 's/.*bundleVersion: // ')
39- echo "current=$CURRENT_VERSION " >> $GITHUB_OUTPUT
38+ VERSION =$(grep "bundleVersion:" OneSignalExampleProjectSettings /ProjectSettings.asset | awk '{print $2} ')
39+ echo "version=$VERSION " >> $GITHUB_OUTPUT
4040
4141 - name : Get last release commit
42- id : last_commit
43- run : |
44- LAST_RELEASE_DATE=$(git show -s --format=%cI "${{ steps.current_version.outputs.current }}")
45- echo "date=$LAST_RELEASE_DATE" >> $GITHUB_OUTPUT
42+ id : last_commit
43+ run : |
44+ LAST_RELEASE_DATE=$(git show -s --format=%cI "${{ steps.current_version.outputs.version }}")
45+ echo "date=$LAST_RELEASE_DATE" >> $GITHUB_OUTPUT
4646
4747 - name : Create release branch from base
4848 run : |
8585 - name : Calculate new version
8686 id : new_version
8787 run : |
88- CURRENT="${{ steps.current_version.outputs.current }}"
88+ CURRENT="${{ steps.current_version.outputs.version }}"
8989 RELEASE_TYPE="${{ inputs.release-type }}"
9090 IS_FEATURE='${{ steps.get_prs.outputs.isFeature }}'
9191
@@ -148,7 +148,7 @@ jobs:
148148 NEW_VERSION="$BASE_VERSION"
149149 else
150150 # Bump stable version
151- NEW_VERSION="$(bump_version "$CURRENT " "$IS_FEATURE")"
151+ NEW_VERSION="$(bump_version "$VERSION " "$IS_FEATURE")"
152152 fi
153153 fi
154154
You can’t perform that action at this time.
0 commit comments