diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f00e969..2615be5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,12 +12,12 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 14 + node-version: 18 - name: Installing dependencies run: yarn diff --git a/README.md b/README.md index 34ef218..2e11697 100644 --- a/README.md +++ b/README.md @@ -156,6 +156,13 @@ To release a new version, just push a new tag. The tag should be in the format ` Once you happy with the release, just publish it. +Let's say the version is `1.2.3`: + +```shell +git tag -a v1.2.3 -m "1.2.3" +git push origin refs/tags/v1.2.3 +``` + ### Stack diff --git a/package.json b/package.json index 26f517e..2d5959d 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dist-linux": "npm run dist --linux", "dist-windows": "npm run dist -- --win", "publish-linux": "electron-builder --linux --publish onTagOrDraft", - "generate-icons": "./node_modules/.bin/electron-icon-maker --input=app-resources/logo-full-size.png --output=resources", + "generate-icons": "npx electron-icon-maker --input=app-resources/logo-full-size.png --output=resources", "build": "npm run generate-icons && webpack --config webpack.prod.js", "test": "node --trace-warnings ./test/runTests.js", "test:watch": "jest --watch",