Skip to content

Commit

Permalink
still figuring how to embed version
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2788 committed Nov 13, 2022
1 parent d1e22df commit d5201cf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ jobs:
uses: docker/setup-qemu-action@v1
- name: install dependencies
run: npm install
- name: change version of package json
uses: jaywcjlove/github-action-package@main
with:
version: ${{ github.ref_name }}
- name: building executable
run: |
npm install pkg -g
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vup_monitors",
"version": "0.1.11",
"version": "0.1.13",
"bin": "src/index.js",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/el/updater.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { default: axios } = require('axios')
const semver = require('semver');

const VERSION = process.env.npm_package_version
const VERSION = '0.1.11'

const updaterApi = axios.create({
baseURL: 'https://api.github.com/repos/eric2788/vup_monitors',
Expand Down

0 comments on commit d5201cf

Please sign in to comment.