Skip to content

Commit 2f8238d

Browse files
bump version of snippets2changelog to use --in-place flag
1 parent 100458f commit 2f8238d

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

.github/workflows/release.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ jobs:
3030
run: |
3131
changelog-generator \
3232
changelog changelog.md \
33-
--snippets=.snippets
33+
--snippets=.snippets \
34+
--in-place
3435
- name: Build package
3536
run: |
3637
changelog2version \
37-
--changelog_file changelog.md.new \
38+
--changelog_file changelog.md \
3839
--version_file be_upy_blink/version.py \
3940
--version_file_type py \
4041
--debug
@@ -54,7 +55,7 @@ jobs:
5455
# note you'll typically need to create a personal access token
5556
# with permissions to create releases in the other repo
5657
# or you set the "contents" permissions to "write" as in this example
57-
changelog-path: changelog.md.new
58+
changelog-path: changelog.md
5859
tag-name-prefix: ''
5960
tag-name-extension: ''
6061
release-name-prefix: ''

.github/workflows/test-release.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ jobs:
2727
run: |
2828
changelog-generator \
2929
changelog changelog.md \
30-
--snippets=.snippets
30+
--snippets=.snippets \
31+
--in-place
3132
- name: Build package
3233
run: |
3334
changelog2version \
34-
--changelog_file changelog.md.new \
35+
--changelog_file changelog.md \
3536
--version_file be_upy_blink/version.py \
3637
--version_file_type py \
3738
--additional_version_info="-rc${{ github.run_number }}.dev${{ github.event.number }}" \
@@ -65,7 +66,7 @@ jobs:
6566
# note you'll typically need to create a personal access token
6667
# with permissions to create releases in the other repo
6768
# or you set the "contents" permissions to "write" as in this example
68-
changelog-path: changelog.md.new
69+
changelog-path: changelog.md
6970
tag-name-prefix: ''
7071
tag-name-extension: '-rc${{ github.run_number }}.dev${{ github.event.number }}'
7172
release-name-prefix: ''

.github/workflows/test.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,15 @@ jobs:
4444
run: |
4545
changelog-generator \
4646
changelog changelog.md \
47-
--snippets=.snippets
47+
--snippets=.snippets \
48+
--in-place
4849
- name: Validate package version file
4950
# the package version file has to be always up to date as mip is using
5051
# the file directly from the repo. On a PyPi package the version file
5152
# is updated and then packed
5253
run: |
5354
changelog2version \
54-
--changelog_file changelog.md.new \
55+
--changelog_file changelog.md \
5556
--version_file be_upy_blink/version.py \
5657
--version_file_type py \
5758
--validate \
@@ -60,7 +61,7 @@ jobs:
6061
run: |
6162
upy-package \
6263
--setup_file setup.py \
63-
--package_changelog_file changelog.md.new \
64+
--package_changelog_file changelog.md \
6465
--package_file package.json \
6566
--validate
6667
# use --ignore-version to skip version validation

requirements-deploy.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# # to upload package to PyPi or other package hosts
44
twine>=4.0.1,<5
55
changelog2version>=0.5.0,<1
6-
snippets2changelog>=1.0.3,<2
6+
snippets2changelog>=1.1.0,<2

0 commit comments

Comments
 (0)