2727
2828 - name : Publish Linux build
2929 run : |
30- nsyte upload dist \
30+ nsyte deploy dist \
3131 --publish-file-metadata \
3232 --version ${{ github.ref_name }} \
3333 --release-artifacts dist-linux.tar.gz \
4747
4848 - name : Publish Windows build
4949 run : |
50- nsyte upload dist `
50+ nsyte deploy dist `
5151 --publish-file-metadata `
5252 --version ${{ github.ref_name }} `
5353 --release-artifacts dist-windows.zip `
9393
9494 - name : Publish artifact
9595 run : |
96- nsyte upload dist \
96+ nsyte deploy dist \
9797 --publish-file-metadata \
9898 --version ${{ github.event.release.tag_name }} \
9999 --release-artifacts ${{ matrix.artifact }} \
@@ -114,7 +114,7 @@ variables:
114114.release_template : &release_definition
115115 stage : release
116116 script :
117- - nsyte upload dist
117+ - nsyte deploy dist
118118 --publish-file-metadata
119119 --version $VERSION
120120 --release-artifacts $ARTIFACT_PATH
@@ -178,7 +178,7 @@ pipeline {
178178 sh 'npm ci && npm run build'
179179 sh 'tar -czf dist-linux.tar.gz dist/'
180180 sh """
181- nsyte upload dist \
181+ nsyte deploy dist \
182182 --publish-file-metadata \
183183 --version ${params.VERSION} \
184184 --release-artifacts dist-linux.tar.gz \
@@ -193,7 +193,7 @@ pipeline {
193193 sh 'npm ci && npm run build'
194194 sh 'tar -czf dist-macos.tar.gz dist/'
195195 sh " " "
196- nsyte upload dist \
196+ nsyte deploy dist \
197197 --publish-file-metadata \
198198 --version ${params.VERSION} \
199199 --release-artifacts dist-macos.tar.gz \
@@ -208,7 +208,7 @@ pipeline {
208208 bat 'npm ci && npm run build'
209209 powershell 'Compress-Archive -Path dist/* -DestinationPath dist-windows.zip'
210210 bat " " "
211- nsyte upload dist ^
211+ nsyte deploy dist ^
212212 --publish-file-metadata ^
213213 --version ${params.VERSION} ^
214214 --release-artifacts dist-windows.zip ^
@@ -231,7 +231,7 @@ Use git tags for consistent versioning:
231231```bash
232232# In your CI script
233233VERSION=$(git describe --tags --abbrev=0)
234- nsyte upload --version " $VERSION" ...
234+ nsyte deploy --version " $VERSION" ...
235235```
236236
237237### 2. Secure Key Management
@@ -266,12 +266,12 @@ Take advantage of nsyte's append capability:
266266# Job 1: Build and release Linux
267267- name : Release Linux
268268 run : |
269- nsyte upload --version v1.0.0 --release-artifacts linux.tar.gz
269+ nsyte deploy --version v1.0.0 --release-artifacts linux.tar.gz
270270
271271# Job 2: Build and release Windows (runs later)
272272- name : Release Windows
273273 run : |
274- nsyte upload --version v1.0.0 --release-artifacts windows.zip
274+ nsyte deploy --version v1.0.0 --release-artifacts windows.zip
275275 # Automatically appends to existing v1.0.0 release
276276` ` `
277277
@@ -291,7 +291,7 @@ upload_with_retry() {
291291 while [ $attempt -le $max_attempts ]; do
292292 echo "Upload attempt $attempt of $max_attempts"
293293
294- if nsyte upload dist \
294+ if nsyte deploy dist \
295295 --publish-file-metadata \
296296 --version "$VERSION" \
297297 --release-artifacts "$1" \
@@ -339,7 +339,7 @@ RELEASE_NOTES=$(git log --pretty=format:"- %s" $(git describe --tags --abbrev=0
339339echo "$RELEASE_NOTES" > release-notes.txt
340340
341341# Include in your release
342- nsyte upload dist \
342+ nsyte deploy dist \
343343 --publish-file-metadata \
344344 --version "$VERSION" \
345345 --release-artifacts dist.tar.gz,release-notes.txt
@@ -366,7 +366,7 @@ When updating a release with a fixed artifact:
366366Enable verbose output for troubleshooting:
367367
368368``` bash
369- nsyte upload dist \
369+ nsyte deploy dist \
370370 --publish-file-metadata \
371371 --version v1.0.0 \
372372 --release-artifacts dist.tar.gz \
0 commit comments