File tree Expand file tree Collapse file tree 5 files changed +84
-49
lines changed Expand file tree Collapse file tree 5 files changed +84
-49
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Bug report
3
+ about : Create a report to help us improve
4
+ title : ' '
5
+ labels : bug
6
+ assignees : dd-jy
7
+
8
+ ---
9
+
10
+ ** Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ ** To Reproduce**
14
+ Steps to reproduce the behavior:
15
+
16
+ ** Expected behavior**
17
+ A clear and concise description of what you expected to happen.
18
+
19
+ ** System environment (please complete the following information):**
20
+ - OS: [ e.g. Ubuntu 16.04, Windows, Mac OS]
21
+ - Python : [ e.g. python3.7]
22
+
23
+ ** Additional context**
24
+ Add any other context about the problem here.
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Feature request
3
+ about : Suggest an idea for this project
4
+ title : ' '
5
+ labels : enhancement
6
+ assignees : dd-jy
7
+
8
+ ---
9
+
10
+ ** Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [ ...]
12
+
13
+ ** Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ ** Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ ** Additional context**
20
+ Add any other context or screenshots about the feature request here.
Original file line number Diff line number Diff line change
1
+ ## Description
2
+ (Please describe what this PR do.)
3
+
4
+
5
+ ## Type of change
6
+ Please insert 'x' one of the type of change.
7
+ - [ ] Bug fix (non-breaking change which fixes an issue)
8
+ - [ ] New feature (non-breaking change which adds functionality)
9
+ - [ ] Documentation update
10
+ - [ ] Refactoring, Maintenance
11
+ - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
12
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # This workflow will upload a Python Package using Twine when a release is created
2
- # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
1
+ # 1. Update changelog
2
+ # 2. Build the exe file and upload it in the release assets.
3
+ # 3. Upload a Python Package using Twine
3
4
4
- name : Upload Python Package
5
+ name : Release fosslight_dependency
5
6
6
7
on :
7
8
release :
8
- types : [created ]
9
+ types : [published ]
9
10
10
11
jobs :
11
-
12
+ update-changelog :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : update changelog with gren
17
+ env :
18
+ GREN_GITHUB_TOKEN : ${{ secrets.TOKEN }}
19
+ run : |
20
+
21
+ node_modules/.bin/gren changelog --override
22
+ - name : Commit files
23
+ run : |
24
+ git config --local user.name "github-actions[bot]"
25
+ git add .
26
+ git commit -m "Update ChangeLog"
27
+ - name : Push changes
28
+ uses : ad-m/github-push-action@master
29
+ with :
30
+ github_token : ${{ secrets.TOKEN }}
31
+ branch : main
32
+
12
33
build :
13
-
34
+ needs : update-changelog
14
35
runs-on : ubuntu-18.04
15
-
16
36
steps :
17
37
- uses : actions/checkout@v2
18
38
44
64
asset_content_type : application/zip
45
65
46
66
deploy :
47
-
48
67
runs-on : ubuntu-18.04
49
-
68
+ needs : build
50
69
steps :
51
70
- uses : actions/checkout@v2
52
71
- name : Set up Python
You can’t perform that action at this time.
0 commit comments