Skip to content

Commit c1cd383

Browse files
ci: Minor fixes for release template
1 parent 19388de commit c1cd383

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Download the binary for your platform using:
44
TAG=TAG_PLACEHOLDER \
55
OS="$(uname -s | tr '[:upper:]' '[:lower:]')" \
66
RELEASE_URL="https://github.com/sourcegraph/scip-clang/releases/download/$TAG" \
7-
bash -c 'curl -L "$RELEASE_URL/scip-clang-$(uname -m)-$OS" -o scip-clang' && \
7+
bash -c 'curl -L "$RELEASE_URL/scip-clang-x86_64-$OS" -o scip-clang' && \
88
chmod +x scip-clang
99
```
1010

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
REV="${GITHUB_REF/refs\/tags\//}"
116116
fi
117117
TEMPLATE="$(< .github/workflows/release-template.md)"
118-
echo "${TEMPLATE//TAG_PLACEHOLDER/$TAG}" > notes
118+
echo "${TEMPLATE//TAG_PLACEHOLDER/$REV}" > notes
119119
gh release create "$REV" --title "scip-clang $REV" --notes-file notes
120120
env:
121121
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)