Skip to content

Commit 7980832

Browse files
committed
Remove duplicate --tag parameters from workflow
1 parent 63830b9 commit 7980832

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
# but also really annoying to build CI around when it needs secrets to work right.)
7777
- id: plan
7878
run: |
79-
dist ${{ (!github.event.pull_request && format('host --steps=create --tag={0}', github.ref_name)) || 'plan' }} --tag=v0.1.0 --output-format=json > plan-dist-manifest.json
79+
dist ${{ (!github.event.pull_request && format('host --steps=create --tag={0}', github.ref_name)) || 'plan' }} --output-format=json > plan-dist-manifest.json
8080
echo "dist ran successfully"
8181
cat plan-dist-manifest.json
8282
echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
@@ -147,7 +147,7 @@ jobs:
147147
- name: Build artifacts
148148
run: |
149149
# Actually do builds and make zips and whatnot
150-
dist build ${{ needs.plan.outputs.tag-flag }} --tag=v0.1.0 --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
150+
dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
151151
echo "dist ran successfully"
152152
- id: cargo-dist
153153
name: Post-build
@@ -199,7 +199,7 @@ jobs:
199199
- id: cargo-dist
200200
shell: bash
201201
run: |
202-
dist build ${{ needs.plan.outputs.tag-flag }} --tag=v0.1.0 --output-format=json "--artifacts=global" > dist-manifest.json
202+
dist build ${{ needs.plan.outputs.tag-flag }} --output-format=json "--artifacts=global" > dist-manifest.json
203203
echo "dist ran successfully"
204204
205205
# Parse out what we just built and upload it to scratch storage
@@ -248,7 +248,7 @@ jobs:
248248
- id: host
249249
shell: bash
250250
run: |
251-
dist host ${{ needs.plan.outputs.tag-flag }} --tag=v0.1.0 --steps=upload --steps=release --output-format=json > dist-manifest.json
251+
dist host ${{ needs.plan.outputs.tag-flag }} --steps=upload --steps=release --output-format=json > dist-manifest.json
252252
echo "artifacts uploaded and released successfully"
253253
cat dist-manifest.json
254254
echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)