File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 5353 - name : Prepare for release metadata
5454 shell : bash
5555 run : |
56- sed -i.bak "s/${{ steps.snapshotVersions.cur_snapshot_version }}/${{ steps.snapshotVersions.new_snapshot_version }}/g" gradle.properties
56+ sed -i.bak "s/${{ steps.snapshotVersions.outputs. cur_snapshot_version }}/${{ inputs.version }}/g" gradle.properties
5757
5858 - name : Commit gradle.properties and set tag for v${{ inputs.version }}
5959 uses : IABTechLab/uid2-shared-actions/actions/commit_pr_and_merge@v2
@@ -70,17 +70,17 @@ jobs:
7070 ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.GPG_KEY }}
7171 ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.GPG_PASSPHRASE }}
7272
73- - name : Prepare next Snapshot version ${{ steps.snapshotVersions.new_snapshot_version }}
73+ - name : Prepare next Snapshot version ${{ steps.snapshotVersions.outputs. new_snapshot_version }}
7474 shell : bash
7575 run : |
76- echo "Setting next snapshot version ${{ steps.snapshotVersions.new_snapshot_version }}"
77- sed -i.bak "s/${{ inputs.version }}/${{ steps.snapshotVersions.new_snapshot_version }}/g" gradle.properties
76+ echo "Setting next snapshot version ${{ steps.snapshotVersions.outputs. new_snapshot_version }}"
77+ sed -i.bak "s/${{ inputs.version }}/${{ steps.snapshotVersions.outputs. new_snapshot_version }}/g" gradle.properties
7878
79- - name : Commit gradle.properties for Snapshot version ${{ steps.snapshotVersions.new_snapshot_version }}
79+ - name : Commit gradle.properties for Snapshot version ${{ steps.snapshotVersions.outputs. new_snapshot_version }}
8080 uses : IABTechLab/uid2-shared-actions/actions/commit_pr_and_merge@v2
8181 with :
8282 add : ' gradle.properties'
83- message : ' Prepare next development version: ${{ steps.snapshotVersions.new_snapshot_version }}'
83+ message : ' Prepare next development version: ${{ steps.snapshotVersions.outputs. new_snapshot_version }}'
8484
8585 - name : Remove the backup file from sed edits
8686 shell : bash
Original file line number Diff line number Diff line change @@ -16,6 +16,5 @@ if [ -z "$NEW_SNAPSHOT_VERSION" ]; then
1616 NEW_SNAPSHOT_VERSION=$CUR_SNAPSHOT_VERSION
1717fi
1818
19-
2019echo " new_snapshot_version=$NEW_SNAPSHOT_VERSION " >> $GITHUB_OUTPUT
2120echo " cur_snapshot_version=$CUR_SNAPSHOT_VERSION " >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments