File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1- # Announcements
2- * First announcement
1+ # Notes
2+ * First Note
33
4- # Changes
4+ # Changes
Original file line number Diff line number Diff line change @@ -15,18 +15,17 @@ jobs:
1515 with :
1616 fetch-depth : 0
1717 - name : Set up Python 3.8
18- 18+ uses : actions/setup-python@v1
1919 with :
2020 python-version : 3.8
2121 - name : Release Notes
22- run : git log $(git describe HEAD~ --tags --abbrev=0)..HEAD --pretty='format:* %h %s%n * %an <%ae>' --no-merges >> ".github/RELEASE-TEMPLATE.md"
22+ run : |
23+ git log $(git describe HEAD~ --tags --abbrev=0)..HEAD --pretty='format:* %h %s%n' --no-merges >> ".github/RELEASE-TEMPLATE.md"
2324 - name : Create Release Draft
2425 uses : softprops/action-gh-release@v1
26+ if : github.repository == 'microsoftgraph/msgraph-sdk-python-core' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
2527 with :
2628 body_path : " .github/RELEASE-TEMPLATE.md"
2729 draft : true
28- files : |
29- dist/msgraph_core-${{env.PROJECT_VERSION}}-py3-none-any.whl
30- dist/msgraph_core-${{env.PROJECT_VERSION}}.tar.gz
3130 env :
3231 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments