Skip to content

Commit 2a22e9c

Browse files
committed
adding versioning
1 parent 495c3f7 commit 2a22e9c

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/cd_dev.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
git stash
8080
git checkout development
8181
git pull
82+
npm version prerelease --preid=alpha --no-git-tag-version
8283
npm install
8384
pm2 start ecosystem.config.json --env development --cwd .
8485
- name: Wait for service to be ready

.github/workflows/cd_prod.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
git stash
8080
git checkout main
8181
git pull
82+
npm version prerelease --preid=alpha
8283
npm install
8384
pm2 start ecosystem.config.json --env production --cwd .
8485
- name: Wait for service to be ready

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tpen3-services",
3-
"version": "0.0.0",
3+
"version": "0.1.0-alpha.0",
44
"description": "TPEN3 Services for data interaction.",
55
"type": "module",
66
"keywords": [

0 commit comments

Comments
 (0)