11name : flatlock-release
22run-name : >
3- (#${{ github.run_number }}) flatlock release v ${{ inputs.version }}
3+ (#${{ github.run_number }}) flatlock release ${{ inputs.version }}
44
55on :
66 workflow_dispatch :
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