mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-04-29 03:22:13 +00:00
Fix version displayed in github release (#172)
This commit is contained in:
parent
baec9203ba
commit
9de5aaeb36
9
.github/workflows/release_github.yml
vendored
9
.github/workflows/release_github.yml
vendored
@ -14,20 +14,19 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set env
|
|
||||||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: "Get the version of fluence-js package"
|
- name: "Get the version of fluence-js package"
|
||||||
id: package-version
|
id: package-version
|
||||||
uses: martinbeentjes/npm-get-version-action@v1.2.3
|
uses: martinbeentjes/npm-get-version-action@v1.2.3
|
||||||
|
|
||||||
with:
|
with:
|
||||||
path: packages/fluence-js
|
path: packages/fluence-js
|
||||||
|
|
||||||
|
- name: Set env
|
||||||
|
run: echo "RELEASE_VERSION=v${{ steps.package-version.outputs.current-version }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: "Create tag for release"
|
- name: "Create tag for release"
|
||||||
uses: rickstaa/action-create-tag@v1
|
uses: rickstaa/action-create-tag@v1
|
||||||
with:
|
with:
|
||||||
tag: "v${{ steps.package-version.outputs.current-version }}"
|
tag: ${{ env.RELEASE_VERSION }}
|
||||||
message: ""
|
message: ""
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user