Skip to content

Commit

Permalink
Merge branch 'autorelease' into hirano-master
Browse files Browse the repository at this point in the history
  • Loading branch information
masanorihirano committed Apr 4, 2023
2 parents 9eacdca + 800140f commit aae4aa0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
echo "TAG=`echo $SOURCE_VERSION | cut -d / -f 2`" >> $GITHUB_OUTPUT
env:
SOURCE_VERSION: ${{ github.event.pull_request.head.ref }}
memo: extract version name from branch name (release/x.y.x -> x.y.z) and register it to steps.get_version.outputs.TAG
#memo: extract version name from branch name (release/x.y.x -> x.y.z) and register it to steps.get_version.outputs.TAG
- name: Echo tag
run: echo ${{ steps.get_version.outputs.TAG }}
memo: echo release version for debugging
#memo: echo release version for debugging
- uses: actions/checkout@v2
- run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand All @@ -29,7 +29,7 @@ jobs:
git checkout hirano-master
git tag -a `echo '${{ github.event.pull_request.head.ref }}' | sed 's/release\///'` -m " "
git push origin `echo '${{ github.event.pull_request.head.ref }}' | sed 's/release\///'`
memo: push tag to the head of the branch as github action bot user
#memo: push tag to the head of the branch as github action bot user
release:
name: release
Expand All @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
python-version: ['3.9']
memo: only one version should be set. This matrix is used to reduce the maintenance cost to change version
#memo: only one version should be set. This matrix is used to reduce the maintenance cost to change version

steps:
- name: Get the version
Expand All @@ -47,7 +47,7 @@ jobs:
echo "TAG=`echo $SOURCE_VERSION | cut -d / -f 2`" >> $GITHUB_OUTPUT
env:
SOURCE_VERSION: ${{ github.event.pull_request.head.ref }}
memo: extract version name from branch name (release/x.y.x -> x.y.z) and register it to steps.get_version.outputs.TAG
#memo: extract version name from branch name (release/x.y.x -> x.y.z) and register it to steps.get_version.outputs.TAG
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
Expand Down Expand Up @@ -77,11 +77,11 @@ jobs:
This release is automatically generated.
Please see the pull request for more details.
[${{ github.event.pull_request.html_url }}](${{ github.event.pull_request.html_url }})
memo: Create release pages. At the beginning of release, the body of pull request is shown.
#memo: Create release pages. At the beginning of release, the body of pull request is shown.
- name: Generate checksum
run: |
cd dist; sha256sum * > checksums.txt; cd -
memo: make check sum for all elements in dist
#memo: make check sum for all elements in dist
- name: Upload tar.gz
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit aae4aa0

Please sign in to comment.