This commit is contained in:
parent
13830d5ef6
commit
8090226ce1
@ -15,10 +15,10 @@ steps:
|
|||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
commands:
|
commands:
|
||||||
- VERSION=$(cat VERSION 2>/dev/null) || echo "1.0.0"
|
- VERSION=$(cat VERSION 2>/dev/null) || echo "1.0.0"
|
||||||
- SNAPSHOT="${VERSION}-snapshot.${DRONE_BUILD_NUMBER}"
|
- SNAPSHOT="$(echo $VERSION)-snapshot.${DRONE_BUILD_NUMBER}"
|
||||||
- echo $VERSION
|
- echo $VERSION
|
||||||
- echo $SNAPSHOT
|
- echo $SNAPSHOT
|
||||||
- npm ci
|
- npm ci
|
||||||
- npm version -snapshot.00
|
- npm version $SNAPSHOT
|
||||||
- npm publish @ioprojects/ui-eslint-base@-snapshot.00
|
- npm publish @ioprojects/ui-eslint-base@$SNAPSHOT
|
||||||
- npm dist-tag add @ioprojects/ui-eslint-base@-snapshot.00 snapshot
|
- npm dist-tag add @ioprojects/ui-eslint-base@$SNAPSHOT snapshot
|
||||||
|
Loading…
Reference in New Issue
Block a user