Skip to content

Commit

Permalink
ci: fix auto version
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Feb 4, 2024
1 parent 868d886 commit a16c015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
mv ../release/legacy-script-engine-${{ matrix.backend }} .
cp ../tooth.template.json tooth.json
sed -i "s/\${engine}/${{ matrix.backend }}/g" tooth.json
sed -i "s/\${version}/${{ github.event.release.tag_name }}/g" tooth.json
sed -i "s/\${version}/$(echo ${{ github.event.release.tag_name }}|sed 's/v//')/g" tooth.json
git add .
git commit -m "Release ${{ github.event.release.tag_name }}"
git tag ${{ github.event.release.tag_name }}
Expand Down

0 comments on commit a16c015

Please sign in to comment.