Skip to content

Commit

Permalink
Updated GitHub Actions config for testing without tagging.
Browse files Browse the repository at this point in the history
  • Loading branch information
drewzadev committed Nov 12, 2023
1 parent 7a56432 commit 3ccf097
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build-rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,16 @@ jobs:
run: npm ci
- name: NPM - Build RPM
run: npm run-script build-rpm
- name: Get package.json version
id: set_var
run: |
content=`cat ./package.json`
content="${content//'%'/'%25'}"
content="${content//$'\n'/'%0A'}"
content="${content//$'\r'/'%0D'}"
echo "::set-output name=packageJson::$content"
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ./dist/rpms/*.rpm
files: ./dist/rpms/*.rpm
tag_name: ${{fromJson(steps.set_var.outputs.packageJson).version}}

0 comments on commit 3ccf097

Please sign in to comment.