Skip to content

Commit

Permalink
fix sed
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrehault committed Mar 7, 2024
1 parent accdf43 commit 55903e5
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.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Set version in source
run: |-
sed -i "s#99999.99999.99999#${{ env.PACKAGE_VERSION }}#" electron-app/src/index.ts
sed -i 4s/.*/{{ env.PACKAGE_VERSION }}/ electron-app/package.json
sed -i "4s/.*/{{ env.PACKAGE_VERSION }}/" electron-app/package.json
- name: Tag if new version
uses: pkgdeps/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |-
cd server
VERSION=`cat ../package.json| grep '"version":'`
sed -i 3s/.*/$VERSION/ package.json
sed -i "3s/.*/$VERSION/" package.json
npm install
npm run compile
- name: Publish
Expand Down

0 comments on commit 55903e5

Please sign in to comment.