Skip to content

Commit

Permalink
version update
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed Aug 19, 2021
1 parent 3f1c978 commit c335d32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- run: npm install
- name: set version
run: |
echo "export const VERSION = { gitHash: '${{ github.sha }}', buildVersion: '2.4.${{ github.run_number }}', production: true }" > src/version.js
echo "export const VERSION = { gitHash: '${{ github.sha }}', buildVersion: '2.5.${{ github.run_number }}', production: true }" > src/version.js
- name: show version
run: cat src/version.js
- name: Build
Expand All @@ -52,5 +52,5 @@ jobs:
with:
artifacts: "./dist/schild.report.msi,./dist/schild.report.dmg,./dist/schild.report.AppImage,./dist/schild.report.snap,./dist/schild.report.rpm,./dist/schild.report.deb"
allowUpdates: true
tag: v2.4.${{ github.run_number }}
tag: v2.5.${{ github.run_number }}
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion electron-builder.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
appId: im.hmt.report.schild
productName: schild.report
artifactName: schild.report.${ext}
buildVersion: 2.4.${env.GITHUB_RUN_NUMBER}
buildVersion: 2.5.${env.GITHUB_RUN_NUMBER}
copyright: Copyright ${author}

extraMetadata:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "schild.report",
"author": "hmt",
"version": "2.4.0",
"version": "2.5.0",
"main": "build/main.js",
"private": true,
"scripts": {
Expand Down

0 comments on commit c335d32

Please sign in to comment.