0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 05:58:21 -05:00

Merge pull request #25 from scottc943/FEATURE/400_GitHubActions-automate-release-versions-PR

Feature/400 git hub actions automate release versions pr
This commit is contained in:
Scott 2024-01-29 07:14:09 -05:00 committed by GitHub
commit c9c54f60fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ jobs:
echo "current-version=$LF_VERSION" >> "$GITHUB_OUTPUT" echo "current-version=$LF_VERSION" >> "$GITHUB_OUTPUT"
- name: update cargo.toml - name: update cargo.toml
run: | run: |
appversion=$(${{ steps.version-bump.outputs.new_tag }} | sed 's/[v]//') appversion=$(echo "${{ steps.version-bump.outputs.new_tag }}" | sed 's/[v]//')
sed -i -e "s/^version = .*/version = \"$appversion\"/" Cargo.toml sed -i -e "s/^version = .*/version = \"$appversion\"/" Cargo.toml
- name: Create Release - name: Create Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1