Skip to content

Commit

Permalink
build version
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaneeyo committed Sep 29, 2023
1 parent 6e94973 commit f3ce353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Update package.json with GitHub Run Number
run: |
node -e "const fs = require('fs'); const packageJson = JSON.parse(fs.readFileSync('package.json')); packageJson.version = process.env.PACKAGE_VERSION; fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2));"
node -e "const fs = require('fs'); const packageJson = JSON.parse(fs.readFileSync('package.json')); packageJson.version = '1.${{ github.run_number }}.0'; fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2));"
shell: bash

- name: Build for Windows
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": "samsung-widgets",
"version": "1.0.1",
"productName": "Samsung Widgets",
"productName": "SamsungWidgets",
"description": "Samsung Widgets created desktop widgets for windows in OneUI Style",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit f3ce353

Please sign in to comment.