Skip to content

Commit

Permalink
fix: Stop using a temporary CHANGELOG.md artifact, use obscure name
Browse files Browse the repository at this point in the history
  • Loading branch information
deregtd committed Sep 30, 2024
1 parent c2dc00c commit d4163bc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ vendor
.DS_Store

# Currently a build artifact for native modules
CHANGELOG.md
tempchangelog.md

# Ignore literally everything under the tests directory (except the README) -- specifically include the dir and stencil.yaml file
# for each test case in the ignores block below
Expand Down
4 changes: 2 additions & 2 deletions stencil.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ modules:
- name: github.com/udemy/eng-team-management
url: https://github.com/udemy/eng-team-management
version:
commit: 4701335561a29ead510007394a13085da1f088e1
tag: v0.3.0
commit: a764c224dc45ab52a52b4dfd71f448744b04ba88
tag: v0.3.1
- name: github.com/udemy/stencil-module-base
url: ./
version:
Expand Down
2 changes: 1 addition & 1 deletion templates/.github/workflows/build-release.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
with:
distribution: goreleaser
version: {{ "v${{ steps.goreleaser.outputs.version }}" }}
args: release --release-notes CHANGELOG.md --clean
args: release --release-notes tempchangelog.md --clean
env:
GITHUB_TOKEN: {{ "${{ secrets.GITHUB_TOKEN }}" }}
## <<Stencil::Block(goreleaserEnvVars)>>
Expand Down
2 changes: 1 addition & 1 deletion templates/.gitignore.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ vendor
.DS_Store

# Currently a build artifact for native modules
CHANGELOG.md
tempchangelog.md

# Ignore literally everything under the tests directory (except the README) -- specifically include the dir and stencil.yaml file
# for each test case in the ignores block below
Expand Down
4 changes: 2 additions & 2 deletions templates/.mise.toml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ run = "go build -trimpath -o ./bin/ -v ./cmd/..."

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

[tasks.fmt]
alias = "format"
Expand Down

0 comments on commit d4163bc

Please sign in to comment.