Skip to content

Commit 37e8628

Browse files
committed
set version in package.json when releasing
1 parent 0e066f2 commit 37e8628

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build-on-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
- name: Install dependencies
1414
run: npm install
1515

16+
- name: Update package.json
17+
run: npm version ${{ github.ref_name }} --git-tag-version false
18+
1619
- name: Build
1720
run: npm run build
1821

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plotly-graph-card",
3-
"version": "3.3.1",
3+
"version": "to-be-set-on-release",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)