Skip to content

Commit

Permalink
fixed wrong shell for getNodeVersion
Browse files Browse the repository at this point in the history
Signed-off-by: pSchlarb <[email protected]>
  • Loading branch information
pSchlarb committed Sep 16, 2022
1 parent 240f7ba commit 18e0711
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/reuseable_build_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,16 @@ jobs:
run: python3 updateVersion.py --timestamp ${{ needs.timestamp.outputs.timestamp }}
- name: Get indy-node version to depend on
id: node-version
shell: bash
run: |
version=$(grep -oP "\d+.\d+.\d+((-|.)?rc\d+)?" <<< $(grep -oP "indy-node==\d+.\d+.\d+((-|.)?rc\d+)?" sovtokenfees/setup.py) || true)
echo $version > indy-node-version.txt
echo "::set-output name=nodeVersion::$(sed 's/\./\~/3' indy-node-version.txt)"
- name: Build Token Plugin deployment package
run: |
mkdir -p /tmp/build-output
fpm --input-type dir --output-type deb --name sovtoken --version $(./updateVersion.py --getVersion) --depends "indy-node(=${{ steps.node-version.outputs-nodeVersion }})" --verbose --no-python-dependencies --force sovtoken/
fpm --input-type dir --output-type deb --name sovtokenfees --version $(./updateVersion.py --getVersion) --depends "indy-node(=${{ steps.node-version.outputs-nodeVersion }})" --verbose --no-python-dependencies --force sovtokenfees/
fpm --input-type dir --output-type deb --name sovtoken --version $(./updateVersion.py --getVersion) --depends "indy-node(=${{ steps.node-version.outputs.nodeVersion }})" --verbose --no-python-dependencies --force sovtoken/
fpm --input-type dir --output-type deb --name sovtokenfees --version $(./updateVersion.py --getVersion) --depends "indy-node(=${{ steps.node-version.outputs.nodeVersion }})" --verbose --no-python-dependencies --force sovtokenfees/
mv ./*.deb /tmp/build-output
- name: Upload sovtoken-deb
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 18e0711

Please sign in to comment.