Skip to content

Commit

Permalink
remove npm version from package json
Browse files Browse the repository at this point in the history
  • Loading branch information
coffee-cup committed Oct 2, 2020
1 parent 2af0d86 commit ef02a0d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,15 @@ jobs:
git config --global user.name "Github Bot"
git config --global user.email "[email protected]"
- name: Checkout master
uses: actions/checkout@v2
with:
ref: "master"

- name: Create .npmrc file
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Bump NPM version
run: npm --no-git-tag-version version ${{ steps.vars.outputs.tag }}
run: npm --no-git-tag-version --allow-same-version version ${{ steps.vars.outputs.tag }}

- name: NPM publish
run: npm publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Push changes
run: git push
env:
github-token: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@railway/cli",
"version": "0.0.2",
"version": "0.0.0",
"description": "Develop and deploy code with zero configuration",
"main": "index.js",
"author": "Jake Runzer",
Expand Down

0 comments on commit ef02a0d

Please sign in to comment.