Skip to content

Commit ad7e6ab

Browse files
committed
chore: cli
1 parent 57fa3b1 commit ad7e6ab

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/npm_release_cli.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: 'nativescript -> npm'
22

33
on:
4-
push:
5-
branches: [ 'main' ]
6-
paths-ignore:
7-
- 'packages/**'
84
workflow_dispatch:
95

106
env:
@@ -26,7 +22,7 @@ jobs:
2622

2723
- name: Generate Version
2824
run: |
29-
echo NPM_VERSION=$(node -e "console.log(require('./package.json').version);")-$NPM_TAG-$(date +"%m-%d-%Y")-$GITHUB_RUN_ID >> $GITHUB_ENV
25+
echo NPM_VERSION=$(node -e "console.log(require('./package.json').version);") >> $GITHUB_ENV
3026
3127
- name: Bump Version
3228
run: npm version $NPM_VERSION
@@ -40,4 +36,4 @@ jobs:
4036
run: |
4137
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
4238
echo "Publishing nativescript@$NPM_VERSION to NPM with tag $NPM_TAG..."
43-
npm publish nativescript-$NPM_VERSION.tgz --tag $NPM_TAG
39+
npm publish akylas-nativescript-cli-$NPM_VERSION.tgz --tag $NPM_TAG

0 commit comments

Comments
 (0)