Skip to content

Commit d4163bc

Browse files
committed
fix: Stop using a temporary CHANGELOG.md artifact, use obscure name
1 parent c2dc00c commit d4163bc

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ vendor
3838
.DS_Store
3939

4040
# Currently a build artifact for native modules
41-
CHANGELOG.md
41+
tempchangelog.md
4242

4343
# Ignore literally everything under the tests directory (except the README) -- specifically include the dir and stencil.yaml file
4444
# for each test case in the ignores block below

stencil.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ modules:
33
- name: github.com/udemy/eng-team-management
44
url: https://github.com/udemy/eng-team-management
55
version:
6-
commit: 4701335561a29ead510007394a13085da1f088e1
7-
tag: v0.3.0
6+
commit: a764c224dc45ab52a52b4dfd71f448744b04ba88
7+
tag: v0.3.1
88
- name: github.com/udemy/stencil-module-base
99
url: ./
1010
version:

templates/.github/workflows/build-release.yml.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193
with:
194194
distribution: goreleaser
195195
version: {{ "v${{ steps.goreleaser.outputs.version }}" }}
196-
args: release --release-notes CHANGELOG.md --clean
196+
args: release --release-notes tempchangelog.md --clean
197197
env:
198198
GITHUB_TOKEN: {{ "${{ secrets.GITHUB_TOKEN }}" }}
199199
## <<Stencil::Block(goreleaserEnvVars)>>

templates/.gitignore.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ vendor
3838
.DS_Store
3939

4040
# Currently a build artifact for native modules
41-
CHANGELOG.md
41+
tempchangelog.md
4242

4343
# Ignore literally everything under the tests directory (except the README) -- specifically include the dir and stencil.yaml file
4444
# for each test case in the ignores block below

templates/.mise.toml.tpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ run = "go build -trimpath -o ./bin/ -v ./cmd/..."
1919

2020
[tasks.changelog]
2121
description = "Generate a changelog for the current version"
22-
outputs = ["CHANGELOG.md"]
23-
run = ["git-cliff --latest --output CHANGELOG.md"]
22+
outputs = ["tempchangelog.md"]
23+
run = ["git-cliff --latest --output tempchangelog.md"]
2424

2525
[tasks.fmt]
2626
alias = "format"

0 commit comments

Comments
 (0)