Skip to content

Commit

Permalink
Package json version updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahendra authored and Mahendra committed Apr 8, 2022
1 parent 198dfaf commit 2e278f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,15 @@ jobs:
with:
go-version: 1.17

- name: Install Gorelease
run: |
echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list
sudo apt update
sudo apt install goreleaser
- name: Build golang
run: |
ls -l
goreleaser release
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish Package
uses: actions/setup-node@v3
with:
node-version: 14


publish-npm:
needs: build
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@maddygoround/webter",
"version": "0.2.8",
"version": "0.2.9",
"description": "Serve your current directory",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -29,6 +29,6 @@
"goBinary": {
"name": "webter",
"path": "./bin",
"url": "https://github.com/maddygoround/webter/releases/download/{{version}}/webter_{{version}}_{{platform}}_{{arch}}.tar.gz"
"url": "https://github.com/maddygoround/webter/releases/download/v{{version}}/webter_{{version}}_{{platform}}_{{arch}}.tar.gz"
}
}

0 comments on commit 2e278f1

Please sign in to comment.