Skip to content

Commit

Permalink
Update extract version
Browse files Browse the repository at this point in the history
  • Loading branch information
suciptoid authored Sep 23, 2024
1 parent b8c6f1d commit a5f76e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
id: postman-version
run: |
tar zxf postman*.tar.gz
echo "::set-output name=VERSION::$(cat ./Postman/app/resources/app/package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | tr -d '[[:space:]]')"
echo "::set-output name=VERSION::$(grep '"version"' ./Postman/app/resources/app/package.json | sed -E 's/.*"version":\s*"([^"]+)".*/\1/')"
- name: Postman Version
run: echo "Postman Version is ${{ steps.postman-version.outputs.VERSION }}"
Expand All @@ -49,7 +49,7 @@ jobs:
Categories=Network;WebBrowser;
EOF
- name:
- name: Build Appimage
run: |
./appimagetool-*.AppImage --appimage-extract
VERSION=${{ steps.postman-version.outputs.VERSION }} ARCH=x86_64 ./squashfs-root/AppRun Postman
Expand Down

0 comments on commit a5f76e1

Please sign in to comment.