File tree Expand file tree Collapse file tree 4 files changed +24
-1
lines changed Expand file tree Collapse file tree 4 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 72
72
steps :
73
73
- uses : actions/checkout@v2
74
74
with :
75
- submodules : false
76
75
# Very important: semantic-release won't trigger a tagged
77
76
# build if this is not set false
78
77
persist-credentials : false
@@ -102,6 +101,8 @@ jobs:
102
101
@google/semantic-release-replace-plugin
103
102
env :
104
103
GITHUB_TOKEN : ${{ secrets.GH_TOKEN_ADMIN }}
104
+ PYPI_USERNAME : ${{ secrets.PYPI_USERNAME }}
105
+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
105
106
106
107
update-semver :
107
108
name : Move Respository semver tags
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -eE
4
+ set -v
5
+ # shellcheck disable=SC1091,SC2086
6
+ source $HOME /.poetry/env
7
+ poetry build
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -eE
4
+ set -v
5
+ source $HOME /.poetry/env
6
+ echo pypy user=${PYPI_USERNAME}
7
+ poetry publish -n -u ${PYPI_USERNAME} -p ${PYPI_TOKEN}
Original file line number Diff line number Diff line change 44
44
}
45
45
],
46
46
"@semantic-release/release-notes-generator",
47
+ [
48
+ "@semantic-release/exec",
49
+ {
50
+ "prepareCmd": "./.github/workflows/sr-prepare.sh ${nextRelease.version}",
51
+ "publishCmd": "./.github/workflows/sr-release.sh",
52
+ "shell": "bash"
53
+ },
54
+ ],
47
55
[
48
56
"@semantic-release/git",
49
57
{
You can’t perform that action at this time.
0 commit comments