Skip to content

Commit ed606b9

Browse files
committed
Properly include Linux native and Jar SAMM CLI in release
1 parent bb37e00 commit ed606b9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/release-workflow.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,13 @@ jobs:
103103
mvn -B verify -Pnative -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
104104
popd
105105
106-
# Create zip of samm-cli
107-
cd tools/samm-cli/target
106+
# Create .tar.gz of samm-cli
107+
pushd tools/samm-cli/target
108108
chmod a+x samm
109109
tar cfvz samm-cli-linux.tar.gz samm
110+
popd
111+
mv tools/samm-cli/target/samm-cli-linux.tar.gz .
112+
mv tools/samm-cli/target/samm-cli-*.jar .
110113
env:
111114
PGP_KEY_PASSWORD: ${{ secrets.PGP_KEY_PASSWORD }}
112115

@@ -116,8 +119,8 @@ jobs:
116119
name: linux-artifacts
117120
path: |
118121
nexus-staging/
119-
tools/samm-cli/target/samm-cli-linux.tar.gz
120-
tools/samm-cli/target/samm-cli-*.jar
122+
samm-cli-linux.tar.gz
123+
samm-cli-*.jar
121124
122125
# The Windows build will build the Windows-specific samm-cli
123126
# and upload the binary to the build artifacts

0 commit comments

Comments
 (0)