Skip to content

Commit ba47e03

Browse files
authored
Merge pull request #35 from KiraCore/feature/cidi
fix: add debug for tag. change output path
2 parents 3551c07 + c94e27d commit ba47e03

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Diff for: .github/workflows/build-and-release.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,14 @@ jobs:
185185
steps:
186186
- name: Checkout
187187
uses: actions/checkout@v4
188-
189-
- name: Update image version in FyneApp.toml
188+
- name: Print the new tags
190189
run: |
190+
echo "TAG: ${{ steps.build-and-ver.create_tag.outputs.new_tag }}"
191191
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//')
192196
sed -i "s/Version = \"[0-9]*\.[0-9]*\.[0-9]*\"/Version = \"$VERSION\"/" FyneApp.toml
193197
194198
- name: Commit and push updated FyneApp.toml
@@ -197,6 +201,6 @@ jobs:
197201
git config --global user.name "GitHub Actions"
198202
git add FyneApp.toml
199203
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 }}"
201205
git tag -a ${{ steps.create_tag.outputs.new_tag }} -m "Update version to ${{ steps.create_tag.outputs.new_tag }}"
202206
git push

0 commit comments

Comments
 (0)