Skip to content

Commit 4d32a35

Browse files
fix(ci): add npmrc
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
1 parent 4405492 commit 4d32a35

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
attestations: write
108108
strategy:
109109
matrix:
110-
rust-version:
110+
rust-version:
111111
- 1.80.0
112112
steps:
113113
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -193,6 +193,10 @@ jobs:
193193
# NOTE: we need to checkout to pull npmrc
194194
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
195195

196+
- name: Add npmrc
197+
run: |
198+
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc
199+
196200
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
197201
with:
198202
path: artifacts

cliff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ topo_order = false
7474
sort_commits = "newest"
7575

7676
# glob pattern for matching git tags
77-
tag_pattern = "[0-9]*"
77+
tag_pattern = "^[0-9]+.[0-9]+.[0-9]+(-beta|-rc|-alpha)?"
7878

7979
# regex for skipping tags
8080
#

0 commit comments

Comments
 (0)