Skip to content

Commit 36a00fa

Browse files
committed
Rename occurences in release pipeline
1 parent ebaad1a commit 36a00fa

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/release-workflow.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
4343
# The Linux build will upload the local Nexus deployment repository
4444
# (i.e., what will be deployed to OSSRH/Maven Central)
45-
# and the Linux-specific bamm-cli binary to the build artifacts
45+
# and the Linux-specific samm-cli binary to the build artifacts
4646
build-linux:
4747
name: Linux build
4848
needs: [check-preconditions]
@@ -84,27 +84,27 @@ jobs:
8484
mvn versions:commit
8585
8686
# Actual build of core SDK
87-
mvn -B -pl '!io.openmanufacturing:bamm-cli' clean deploy -Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -DaltDeploymentRepository=local::default::file://nexus-staging -Psign
87+
mvn -B -pl '!org.eclipse.esmf:samm-cli' clean deploy -Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -DaltDeploymentRepository=local::default::file://nexus-staging -Psign
8888
# Build of CLI
89-
cd tools/bamm-cli
89+
cd tools/samm-cli
9090
mvn -B clean verify -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
9191
mvn -B verify -Pnative -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
9292
93-
# Create zip of bamm-cli
94-
cd tools/bamm-cli/target
95-
chmod a+x bamm
96-
tar cfvz bamm-cli-linux.tar.gz bamm
93+
# Create zip of samm-cli
94+
cd tools/samm-cli/target
95+
chmod a+x samm
96+
tar cfvz samm-cli-linux.tar.gz samm
9797
9898
- name: Upload staging directory and Linux binary
9999
uses: actions/upload-artifact@v3
100100
with:
101101
name: linux-artifacts
102102
path: |
103103
nexus-staging/
104-
tools/bamm-cli/target/bamm-cli-linux.tar.gz
105-
tools/bamm-cli/target/bamm-cli-*.jar
104+
tools/samm-cli/target/samm-cli-linux.tar.gz
105+
tools/samm-cli/target/samm-cli-*.jar
106106
107-
# The Windows build will build the Windows-specific bamm-cli
107+
# The Windows build will build the Windows-specific samm-cli
108108
# and upload the binary to the build artifacts
109109
build-windows:
110110
name: Windows build
@@ -151,9 +151,9 @@ jobs:
151151
mvn versions:commit
152152
153153
# Actual build of core SDK
154-
mvn -B -pl '!io.openmanufacturing:bamm-cli' clean install -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
154+
mvn -B -pl '!org.eclipse.esmf:samm-cli' clean install -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
155155
# Build of CLI
156-
cd tools/bamm-cli
156+
cd tools/samm-cli
157157
mvn -B clean verify -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
158158
mvn -B verify -Pnative -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
159159
shell: bash
@@ -163,9 +163,9 @@ jobs:
163163
with:
164164
name: windows-artifacts
165165
path: |
166-
tools/bamm-cli/target/bamm.exe
167-
tools/bamm-cli/target/*.dll
168-
tools/bamm-cli/target/lib/
166+
tools/samm-cli/target/samm.exe
167+
tools/samm-cli/target/*.dll
168+
tools/samm-cli/target/lib/
169169
170170
release:
171171
needs: [build-linux, build-windows]
@@ -201,7 +201,7 @@ jobs:
201201
- name: Prepare release
202202
run: |
203203
# Create Windows CLI zip
204-
zip -9 -r bamm-cli-windows.zip bamm.exe *.dll lib/
204+
zip -9 -r samm-cli-windows.zip samm.exe *.dll lib/
205205
206206
# Full release: Maven Central
207207
- name: Release to OSSRH/Maven Central
@@ -251,9 +251,9 @@ jobs:
251251
draft: false
252252
prerelease: false
253253
files: |
254-
bamm-cli-windows.zip
255-
bamm-cli-linux.tar.gz
256-
bamm-cli-*.jar
254+
samm-cli-windows.zip
255+
samm-cli-linux.tar.gz
256+
samm-cli-*.jar
257257
env:
258258
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
259259

@@ -308,8 +308,8 @@ jobs:
308308
draft: false
309309
prerelease: true
310310
files: |
311-
bamm-cli-windows.zip
312-
bamm-cli-linux.tar.gz
313-
bamm-cli-*.jar
311+
samm-cli-windows.zip
312+
samm-cli-linux.tar.gz
313+
samm-cli-*.jar
314314
env:
315315
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)