Commit 2f8238d 1 parent 100458f commit 2f8238d Copy full SHA for 2f8238d
File tree 4 files changed +13
-10
lines changed
4 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,12 @@ jobs:
30
30
run : |
31
31
changelog-generator \
32
32
changelog changelog.md \
33
- --snippets=.snippets
33
+ --snippets=.snippets \
34
+ --in-place
34
35
- name : Build package
35
36
run : |
36
37
changelog2version \
37
- --changelog_file changelog.md.new \
38
+ --changelog_file changelog.md \
38
39
--version_file be_upy_blink/version.py \
39
40
--version_file_type py \
40
41
--debug
54
55
# note you'll typically need to create a personal access token
55
56
# with permissions to create releases in the other repo
56
57
# or you set the "contents" permissions to "write" as in this example
57
- changelog-path : changelog.md.new
58
+ changelog-path : changelog.md
58
59
tag-name-prefix : ' '
59
60
tag-name-extension : ' '
60
61
release-name-prefix : ' '
Original file line number Diff line number Diff line change @@ -27,11 +27,12 @@ jobs:
27
27
run : |
28
28
changelog-generator \
29
29
changelog changelog.md \
30
- --snippets=.snippets
30
+ --snippets=.snippets \
31
+ --in-place
31
32
- name : Build package
32
33
run : |
33
34
changelog2version \
34
- --changelog_file changelog.md.new \
35
+ --changelog_file changelog.md \
35
36
--version_file be_upy_blink/version.py \
36
37
--version_file_type py \
37
38
--additional_version_info="-rc${{ github.run_number }}.dev${{ github.event.number }}" \
65
66
# note you'll typically need to create a personal access token
66
67
# with permissions to create releases in the other repo
67
68
# or you set the "contents" permissions to "write" as in this example
68
- changelog-path : changelog.md.new
69
+ changelog-path : changelog.md
69
70
tag-name-prefix : ' '
70
71
tag-name-extension : ' -rc${{ github.run_number }}.dev${{ github.event.number }}'
71
72
release-name-prefix : ' '
Original file line number Diff line number Diff line change @@ -44,14 +44,15 @@ jobs:
44
44
run : |
45
45
changelog-generator \
46
46
changelog changelog.md \
47
- --snippets=.snippets
47
+ --snippets=.snippets \
48
+ --in-place
48
49
- name : Validate package version file
49
50
# the package version file has to be always up to date as mip is using
50
51
# the file directly from the repo. On a PyPi package the version file
51
52
# is updated and then packed
52
53
run : |
53
54
changelog2version \
54
- --changelog_file changelog.md.new \
55
+ --changelog_file changelog.md \
55
56
--version_file be_upy_blink/version.py \
56
57
--version_file_type py \
57
58
--validate \
60
61
run : |
61
62
upy-package \
62
63
--setup_file setup.py \
63
- --package_changelog_file changelog.md.new \
64
+ --package_changelog_file changelog.md \
64
65
--package_file package.json \
65
66
--validate
66
67
# use --ignore-version to skip version validation
Original file line number Diff line number Diff line change 3
3
# # to upload package to PyPi or other package hosts
4
4
twine>=4.0.1,<5
5
5
changelog2version>=0.5.0,<1
6
- snippets2changelog>=1.0.3 ,<2
6
+ snippets2changelog>=1.1.0 ,<2
You can’t perform that action at this time.
0 commit comments