Skip to content

Commit

Permalink
fix again the version (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrehault authored Apr 3, 2024
1 parent f22b7be commit 2bc2172
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ jobs:
with:
node-version: 20

- name: Get package version
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV

- name: Set version in source
run: |-
sed -i "s#99999\.99999\.99999#${{ env.PACKAGE_VERSION }}#" electron-app/src/index.ts
sed -i "4s/0\.0\.0/${{ env.PACKAGE_VERSION }}/" electron-app/package.json
- name: install dependencies electron-app
run: npm install
working-directory: electron-app
Expand Down Expand Up @@ -93,6 +85,15 @@ jobs:
- uses: actions/setup-node@master
with:
node-version: 20

- name: Get package version
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV

- name: Set version in source
run: |-
sed -i "s#99999\.99999\.99999#${{ env.PACKAGE_VERSION }}#" electron-app/src/index.ts
sed -i "4s/0\.0\.0/${{ env.PACKAGE_VERSION }}/" electron-app/package.json
- name: install dependencies electron-app
run: npm install
working-directory: electron-app
Expand Down Expand Up @@ -155,6 +156,15 @@ jobs:
- uses: actions/setup-node@master
with:
node-version: 20

- name: Get package version
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV

- name: Set version in source
run: |-
sed -i "s#99999\.99999\.99999#${{ env.PACKAGE_VERSION }}#" electron-app/src/index.ts
sed -i "4s/0\.0\.0/${{ env.PACKAGE_VERSION }}/" electron-app/package.json
- name: install dependencies electron-app
run: npm install
working-directory: electron-app
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": "nuclia-sync-agent-app",
"version": "1.2.9",
"version": "1.2.10",
"description": "This is a Nuclia Sync Agent App",
"main": "build/index.js",
"scripts": {
Expand Down

0 comments on commit 2bc2172

Please sign in to comment.