Skip to content

Commit dc8776a

Browse files
committed
Update version script
1 parent 6903ab3 commit dc8776a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
126126
- name: Generate plugin repository YAML
127127
env:
128-
GITHUB_REF_NAME: v${{ github.event.inputs.version }}
128+
GITHUB_REF_NAME: ${{ github.event.inputs.version }}
129129
run: |
130130
source venv/bin/activate
131131
echo "📝 Generating plugin repository YAML file for version ${{ github.event.inputs.version }}..."
@@ -145,14 +145,14 @@ jobs:
145145
- name: Create GitHub Release
146146
uses: softprops/action-gh-release@v1
147147
with:
148-
tag_name: v${{ github.event.inputs.version }}
149-
name: Release v${{ github.event.inputs.version }}
148+
tag_name: ${{ github.event.inputs.version }}
149+
name: ${{ github.event.inputs.version }}
150150
files: |
151151
dist/*
152152
plugin-repo-entry.yml
153153
plugin-repo-summary.txt
154154
body: |
155-
## CF CLI Java Plugin v${{ github.event.inputs.version }}
155+
## CF CLI Java Plugin ${{ github.event.inputs.version }}
156156
157157
Plugin for profiling Java applications and getting heap and thread-dumps.
158158
@@ -176,15 +176,15 @@ jobs:
176176
177177
### Manual Installation
178178
179-
Download this specific release (v${{ github.event.inputs.version }}) and install manually:
179+
Download this specific release (${{ github.event.inputs.version }}) and install manually:
180180
181181
```bash
182182
# on Mac arm64
183-
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/v${{ github.event.inputs.version }}/cf-cli-java-plugin-macos-arm64
183+
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/${{ github.event.inputs.version }}/cf-cli-java-plugin-macos-arm64
184184
# on Windows x86
185-
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/v${{ github.event.inputs.version }}/cf-cli-java-plugin-windows-amd64
185+
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/${{ github.event.inputs.version }}/cf-cli-java-plugin-windows-amd64
186186
# on Linux x86
187-
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/v${{ github.event.inputs.version }}/cf-cli-java-plugin-linux-amd64
187+
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/${{ github.event.inputs.version }}/cf-cli-java-plugin-linux-amd64
188188
```
189189
190190
Or download the latest release:
@@ -209,7 +209,7 @@ jobs:
209209

210210
- name: Create Summary Comment
211211
run: |
212-
echo "## 🚀 Release v${{ github.event.inputs.version }} Created Successfully!" >> $GITHUB_STEP_SUMMARY
212+
echo "## 🚀 Release ${{ github.event.inputs.version }} Created Successfully!" >> $GITHUB_STEP_SUMMARY
213213
echo "" >> $GITHUB_STEP_SUMMARY
214214
echo "### Files Generated:" >> $GITHUB_STEP_SUMMARY
215215
echo "- Release binaries for all platforms" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)