Skip to content

Commit

Permalink
Merge pull request #6 from upstash/DX-490
Browse files Browse the repository at this point in the history
DX490
  • Loading branch information
ogzhanolguncu authored Nov 23, 2023
2 parents 0b20bf5 + 3fb0297 commit bdf8e23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set env
run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 18

- name: Set version
run: node cmd/set-version.js . ${GITHUB_REF#refs/*/}
- name: Set package version
run: echo $(jq --arg v "${{ env.VERSION }}" '(.version) = $v' package.json) > package.json

- name: Install bun
run: npm install -g bun
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@upstash/lock",
"description": "A distributed lock implementation using Upstash Redis",
"module": "./dist/index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"version": "0.0.1",
Expand Down

0 comments on commit bdf8e23

Please sign in to comment.