File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : Upload Python Package
2
2
on :
3
3
push :
4
- branches :
5
- - ' master-ini'
6
-
4
+ tags :
5
+ - ' v[0-9]+.[0-9]+.[0-9]+' # Match tags in the format v0.3.0
6
+ - ' v[0-9]+.[0-9]+.[0-9]+rc[0-9]+' # Match tags in the format v0.3.0rc1
7
+
7
8
jobs :
8
9
deploy :
9
10
31
32
with :
32
33
user : __token__
33
34
password : ${{ secrets.PYPI_TOKEN }}
34
-
35
+ - name : Create Release
36
+ id : create_release
37
+ uses : actions/create-release@v1
38
+ env :
39
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
+ with :
41
+ tag_name : ${{ github.ref }}
42
+ release_name : Release ${{ github.ref }}
43
+ body : |
44
+ Release ${{ github.ref }}
45
+ draft : false
46
+ prerelease : false
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def run(args):
36
36
# except subprocess.CalledProcessError as e:
37
37
# print(f"Failed bootstrapping with error: {e}")
38
38
39
-
39
+ print ( "cmd2=>" , cmd2 )
40
40
_bootstrap ()
41
41
42
42
try :
Original file line number Diff line number Diff line change 19
19
20
20
setuptools .setup (
21
21
name = "middleware-apm" ,
22
- version = "0.3.0 " ,
22
+ version = "0.3.0rc1 " ,
23
23
install_requires = requirements ,
24
24
author = "middleware-dev" ,
25
25
maintainer = "middleware-dev" ,
You can’t perform that action at this time.
0 commit comments