File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -185,10 +185,14 @@ jobs:
185
185
steps :
186
186
- name : Checkout
187
187
uses : actions/checkout@v4
188
-
189
- - name : Update image version in FyneApp.toml
188
+ - name : Print the new tags
190
189
run : |
190
+ echo "TAG: ${{ steps.build-and-ver.create_tag.outputs.new_tag }}"
191
191
VERSION=$(echo ${{ steps.create_tag.outputs.new_tag }} | sed 's/^v//')
192
+ echo "VERSION: $VERSION"
193
+ - name : Update image version in FyneApp.toml
194
+ run : |
195
+ VERSION=$(echo ${{ steps.build-and-ver.create_tag.outputs.new_tag }} | sed 's/^v//')
192
196
sed -i "s/Version = \"[0-9]*\.[0-9]*\.[0-9]*\"/Version = \"$VERSION\"/" FyneApp.toml
193
197
194
198
- name : Commit and push updated FyneApp.toml
@@ -197,6 +201,6 @@ jobs:
197
201
git config --global user.name "GitHub Actions"
198
202
git add FyneApp.toml
199
203
git commit -m "fix(cidi_auto): Update FyneApp.toml" \
200
- -m "Update version to ${{ steps.create_tag.outputs.new_tag }}"
204
+ -m "Update version to ${{ steps.build-and-ver. create_tag.outputs.new_tag }}"
201
205
git tag -a ${{ steps.create_tag.outputs.new_tag }} -m "Update version to ${{ steps.create_tag.outputs.new_tag }}"
202
206
git push
You can’t perform that action at this time.
0 commit comments