mirror of
https://github.com/upstash/context7.git
synced 2025-12-14 08:38:08 +00:00
fix: Update release workflow to remove 'v' prefix from version variable
This commit is contained in:
parent
f18bbe4614
commit
2c5d40aa96
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -14,7 +14,11 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set env
|
- name: Set env
|
||||||
run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
run: |
|
||||||
|
VERSION="${GITHUB_REF##refs/*/}"
|
||||||
|
# Remove 'v' prefix if it exists
|
||||||
|
VERSION="${VERSION#v}"
|
||||||
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user