Skip to content

Commit c2cd719

Browse files
committed
Fix github actions
2 parents b556b46 + 10f0692 commit c2cd719

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/auto-generate-changelog.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Generate changelog
22
on:
3-
release:
4-
types: [created, edited]
5-
workflow_dispatch:
3+
workflow_dispatch:
64

75
jobs:
86
generate-changelog:

.github/workflows/create-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,16 @@ jobs:
2626
author_name: github-actions
2727
author_email: 41898282+github-actions[bot]@users.noreply.github.com
2828

29+
- name: Get latest commitish
30+
run: echo "COMMITISH=`git rev-parse HEAD`" >> $GITHUB_ENV
31+
2932
- name: Create Release
3033
id: create_release
3134
uses: actions/create-release@v1
3235
env:
3336
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3437
with:
38+
commitish: ${{ env.COMMITISH }}
3539
tag_name: ${{ github.event.inputs.releaseversion }}
3640
release_name: Release ${{ github.event.inputs.releaseversion }}
3741
body: |

.github/workflows/upload-python-package.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Upload Python Package
22

33
on:
4-
push:
5-
tags:
6-
- '*'
4+
workflow_dispatch:
75

86
jobs:
97
deploy:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.1.7.1"
1+
__version__ = "2.0.1"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "atcodertools"
3-
version = "2.0.0"
3+
version = "2.0.1"
44
description = "Convenient modules & tools for AtCoder users, written in Python 3.6"
55
authors = ["kyuridenamida <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)