Commit 43a0194 1 parent 92b7342 commit 43a0194 Copy full SHA for 43a0194
File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 53
53
- name : Prepare for release metadata
54
54
shell : bash
55
55
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
57
57
58
58
- name : Commit gradle.properties and set tag for v${{ inputs.version }}
59
59
uses : IABTechLab/uid2-shared-actions/actions/commit_pr_and_merge@v2
@@ -70,17 +70,17 @@ jobs:
70
70
ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.GPG_KEY }}
71
71
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.GPG_PASSPHRASE }}
72
72
73
- - name : Prepare next Snapshot version ${{ steps.snapshotVersions.new_snapshot_version }}
73
+ - name : Prepare next Snapshot version ${{ steps.snapshotVersions.outputs. new_snapshot_version }}
74
74
shell : bash
75
75
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
78
78
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 }}
80
80
uses : IABTechLab/uid2-shared-actions/actions/commit_pr_and_merge@v2
81
81
with :
82
82
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 }}'
84
84
85
85
- name : Remove the backup file from sed edits
86
86
shell : bash
Original file line number Diff line number Diff line change @@ -16,6 +16,5 @@ if [ -z "$NEW_SNAPSHOT_VERSION" ]; then
16
16
NEW_SNAPSHOT_VERSION=$CUR_SNAPSHOT_VERSION
17
17
fi
18
18
19
-
20
19
echo " new_snapshot_version=$NEW_SNAPSHOT_VERSION " >> $GITHUB_OUTPUT
21
20
echo " cur_snapshot_version=$CUR_SNAPSHOT_VERSION " >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments