Skip to content

Commit

Permalink
improvements for release generation #3665
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-dmlr committed Nov 29, 2024
1 parent 6e345d1 commit a5e50bc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-wrapper-checkmarx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
assets=()
echo "# Adding release artifacts"
cd sechub-wrapper-checkmarx/build/libs/
for asset in sechub-wrapper-checkmarx-${{ inputs.checkmarx-wrapper-version }}.jar sechub-wrapper-checkmarx-${{ inputs.checkmarx-wrapper-version }}.jar.sha256sum ; do
for asset in sechub-wrapper-checkmarx-${{ inputs.checkmarx-wrapper-version }}.jar* ; do
filename=`basename "$asset"`
echo "# - $filename"
assets+=("-a" "${asset}#${filename}")
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-wrapper-owaspzap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,15 @@ jobs:
shell: bash
run: |
cd sechub-wrapper-owasp-zap/build/libs/
sha256sum sechub-wrapper-owasp-zap-${{ inputs.owaspzap-wrapper-version }}.jar > sechub-wrapper-owasp-zap-${{ inputs.owaspzap-wrapper-version }}.jar.sha256sum
sha256sum sechub-pds-wrapperowaspzap-${{ inputs.owaspzap-wrapper-version }}.jar > sechub-pds-wrapperowaspzap-${{ inputs.owaspzap-wrapper-version }}.jar.sha256sum
- name: Create OWASP-ZAP Wrapper ${{ inputs.owaspzap-wrapper-version }} release draft
shell: bash
run: |
assets=()
echo "# Adding release artifacts"
cd sechub-wrapper-owasp-zap/build/libs/
for asset in sechub-wrapper-owasp-zap-${{ inputs.owaspzap-wrapper-version }}.jar sechub-wrapper-owasp-zap-${{ inputs.owaspzap-wrapper-version }}.jar.sha256sum ; do
for asset in sechub-pds-wrapperowaspzap-${{ inputs.owaspzap-wrapper-version }}.jar* ; do
filename=`basename "$asset"`
echo "# - $filename"
assets+=("-a" "${asset}#${filename}")
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-wrapper-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
assets=()
echo "# Adding release artifacts"
cd sechub-wrapper-prepare/build/libs/
for asset in sechub-wrapper-prepare-${{ inputs.prepare-wrapper-version }}.jar sechub-wrapper-prepare-${{ inputs.prepare-wrapper-version }}.jar.sha256sum ; do
for asset in sechub-wrapper-prepare-${{ inputs.prepare-wrapper-version }}.jar* ; do
filename=`basename "$asset"`
echo "# - $filename"
assets+=("-a" "${asset}#${filename}")
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
assets=()
echo "# Adding release artifacts"
cd sechub-wrapper-secretvalidation/build/libs/
for asset in sechub-wrapper-secretvalidation-${{ inputs.secretvalidation-wrapper-version }}.jar sechub-wrapper-secretvalidation-${{ inputs.secretvalidation-wrapper-version }}.jar.sha256sum ; do
for asset in sechub-wrapper-secretvalidation-${{ inputs.secretvalidation-wrapper-version }}.jar* ; do
filename=`basename "$asset"`
echo "# - $filename"
assets+=("-a" "${asset}#${filename}")
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-wrapper-xray.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,15 @@ jobs:
shell: bash
run: |
cd sechub-wrapper-xray/build/libs/
sha256sum sechub-wrapper-xray-${{ inputs.xray-wrapper-version }}.jar > sechub-wrapper-xray-${{ inputs.xray-wrapper-version }}.jar.sha256sum
sha256sum sechub-pds-wrapper-xray-${{ inputs.xray-wrapper-version }}.jar > sechub-pds-wrapper-xray-${{ inputs.xray-wrapper-version }}.jar.sha256sum
- name: Create Xray Wrapper ${{ inputs.xray-wrapper-version }} release draft
shell: bash
run: |
assets=()
echo "# Adding release artifacts"
cd sechub-wrapper-xray/build/libs/
for asset in sechub-wrapper-xray-${{ inputs.xray-wrapper-version }}.jar sechub-wrapper-xray-${{ inputs.xray-wrapper-version }}.jar.sha256sum ; do
for asset in sechub-pds-wrapper-xray-${{ inputs.xray-wrapper-version }}.jar* ; do
filename=`basename "$asset"`
echo "# - $filename"
assets+=("-a" "${asset}#${filename}")
Expand Down

0 comments on commit a5e50bc

Please sign in to comment.