Skip to content

Commit 005fbd5

Browse files
Use variable instead of hard-coding repository name
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 3e663f2 commit 005fbd5

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
set -x
2121
VERSION=v$(cat package/version)
2222
gh release create "${VERSION}" \
23-
--repo runtimeverification/komet-node \
23+
--repo "${GITHUB_REPOSITORY}" \
2424
--draft \
25-
--title ${VERSION} \
25+
--title "${VERSION}" \
2626
--target ${{ github.sha }}
2727
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
2828
@@ -82,8 +82,8 @@ jobs:
8282
run: |
8383
set -x
8484
VERSION=v$(cat package/version)
85-
gh release delete ${VERSION} \
86-
--repo runtimeverification/komet-node \
85+
gh release delete "${VERSION}" \
86+
--repo "${GITHUB_REPOSITORY}" \
8787
--yes \
8888
--cleanup-tag
8989
@@ -124,8 +124,8 @@ jobs:
124124
run: |
125125
set -x
126126
VERSION=v$(cat package/version)
127-
gh release delete ${VERSION} \
128-
--repo runtimeverification/komet-node \
127+
gh release delete "${VERSION}" \
128+
--repo "${GITHUB_REPOSITORY}" \
129129
--yes \
130130
--cleanup-tag
131131
@@ -146,6 +146,6 @@ jobs:
146146
run: |
147147
set -x
148148
VERSION=v$(cat package/version)
149-
gh release edit ${VERSION} \
150-
--repo runtimeverification/komet-node \
149+
gh release edit "${VERSION}" \
150+
--repo "${GITHUB_REPOSITORY}" \
151151
--draft=false

0 commit comments

Comments
 (0)