Skip to content

Commit 978a33e

Browse files
indexzeroclaude
andauthored
fix(release) remove v prefix from release tags (#19)
Simplicity is complicated. A version string is a version string. Adding 'v' to it doesn't make it more of a version. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 214be2e commit 978a33e

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ncc-release.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flatlock-release
22
run-name: >
3-
(#${{ github.run_number }}) flatlock release v${{ inputs.version }}
3+
(#${{ github.run_number }}) flatlock release ${{ inputs.version }}
44
55
on:
66
workflow_dispatch:
@@ -99,8 +99,8 @@ jobs:
9999
- name: Create GitHub Release
100100
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
101101
with:
102-
tag_name: v${{ inputs.version }}
103-
name: flatlock v${{ inputs.version }}
102+
tag_name: ${{ inputs.version }}
103+
name: flatlock ${{ inputs.version }}
104104
prerelease: ${{ inputs.prerelease }}
105105
generate_release_notes: true
106106
files: |
@@ -111,7 +111,7 @@ jobs:
111111
binaries/flatcover-linux-arm64
112112
binaries/flatcover-darwin-arm64
113113
body: |
114-
## flatlock v${{ inputs.version }}
114+
## flatlock ${{ inputs.version }}
115115
116116
The Matlock of lockfile parsers - extracts packages without building dependency graphs.
117117
@@ -128,20 +128,20 @@ jobs:
128128
129129
```bash
130130
# Linux (x64)
131-
curl -L -o flatlock https://github.com/${{ github.repository }}/releases/download/v${{ inputs.version }}/flatlock-linux-x64
132-
curl -L -o flatcover https://github.com/${{ github.repository }}/releases/download/v${{ inputs.version }}/flatcover-linux-x64
131+
curl -L -o flatlock https://github.com/${{ github.repository }}/releases/download/${{ inputs.version }}/flatlock-linux-x64
132+
curl -L -o flatcover https://github.com/${{ github.repository }}/releases/download/${{ inputs.version }}/flatcover-linux-x64
133133
chmod +x flatlock flatcover
134134
mv flatlock flatcover /usr/local/bin/
135135
136136
# Linux (ARM64)
137-
curl -L -o flatlock https://github.com/${{ github.repository }}/releases/download/v${{ inputs.version }}/flatlock-linux-arm64
138-
curl -L -o flatcover https://github.com/${{ github.repository }}/releases/download/v${{ inputs.version }}/flatcover-linux-arm64
137+
curl -L -o flatlock https://github.com/${{ github.repository }}/releases/download/${{ inputs.version }}/flatlock-linux-arm64
138+
curl -L -o flatcover https://github.com/${{ github.repository }}/releases/download/${{ inputs.version }}/flatcover-linux-arm64
139139
chmod +x flatlock flatcover
140140
mv flatlock flatcover /usr/local/bin/
141141
142142
# macOS (Apple Silicon)
143-
curl -L -o flatlock https://github.com/${{ github.repository }}/releases/download/v${{ inputs.version }}/flatlock-darwin-arm64
144-
curl -L -o flatcover https://github.com/${{ github.repository }}/releases/download/v${{ inputs.version }}/flatcover-darwin-arm64
143+
curl -L -o flatlock https://github.com/${{ github.repository }}/releases/download/${{ inputs.version }}/flatlock-darwin-arm64
144+
curl -L -o flatcover https://github.com/${{ github.repository }}/releases/download/${{ inputs.version }}/flatcover-darwin-arm64
145145
chmod +x flatlock flatcover
146146
mv flatlock flatcover /usr/local/bin/
147147
```

0 commit comments

Comments
 (0)