Skip to content

Commit 62b310c

Browse files
authored
Keep release notes outside release checkout (#172)
1 parent 9f82ddb commit 62b310c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Write release notes
5252
shell: bash
5353
run: |
54-
cat > RELEASE_NOTES.md <<'EOF'
54+
cat > "$RUNNER_TEMP/RELEASE_NOTES.md" <<'EOF'
5555
Bomly release ${{ github.ref_name }}
5656
5757
Assets in this draft release include:
@@ -90,7 +90,7 @@ jobs:
9090
with:
9191
distribution: goreleaser
9292
version: v2.16.0
93-
args: release --clean --release-notes=RELEASE_NOTES.md
93+
args: release --clean --release-notes=${{ runner.temp }}/RELEASE_NOTES.md
9494
env:
9595
GITHUB_TOKEN: ${{ github.token }}
9696
TAP_GITHUB_TOKEN: ${{ steps.package-token.outputs.token }}

0 commit comments

Comments
 (0)