forked from pfnet-research/pfhedge
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'autorelease' into hirano-master
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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] | ||
|
@@ -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: | ||
|