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

Merge pull request #24 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:09:16 -05:00 committed by GitHub
commit 563155077b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,6 +27,15 @@ jobs:
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
release_branches: rolling release_branches: rolling
- name: get-app-version
id: package-version
run: |
LF_VERSION=$(cat package.json | jq -r '.version')
echo "current-version=$LF_VERSION" >> "$GITHUB_OUTPUT"
- name: update cargo.toml
run: |
appversion=$(${{ steps.version-bump.outputs.new_tag }} | sed 's/[v]//')
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
with: with: