mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-22 14:08:23 -05:00
Compare commits
1 Commits
be6ebe5c90
...
d0405e739b
Author | SHA1 | Date | |
---|---|---|---|
|
d0405e739b |
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -27,15 +27,6 @@ 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=$(echo "${{ 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:
|
||||||
@ -45,4 +36,5 @@ jobs:
|
|||||||
tag_name: ${{ steps.version-bump.outputs.new_tag }}
|
tag_name: ${{ steps.version-bump.outputs.new_tag }}
|
||||||
prerelease: false
|
prerelease: false
|
||||||
env:
|
env:
|
||||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user