File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22name : deploy
33
44on :
5- push :
6- branches :
7- - master
5+ release :
6+ types :
7+ - published
88 pull_request :
99
1010jobs :
3838 env :
3939 HEAD_REF : ${{github.head_ref}}
4040 if : ${{ github.event_name == 'pull_request' }}
41- - run : echo 'TAG_NAME=latest' >> "$GITHUB_ENV"
42- if : ${{ github.event_name == 'push' }}
41+ - run : |
42+ echo 'TAG_NAME=v${{ github.event.release.tag_name }}' >> "$GITHUB_ENV"
43+ echo 'TAG_NAME=latest' >> "$GITHUB_ENV"
44+ if: ${{ github.event_name == 'relase' }}
4345 - name : Build docker image
4446 run : docker-compose build --build-arg BUILDKIT_INLINE_CACHE=1
4547 - name : Start docker
Original file line number Diff line number Diff line change 77 * ` Removed ` 削除された機能について。
88 * ` Fixed ` バグ修正について。
99
10- ## v2.2.0 - 2022-02-11
10+ ## v2.2.1 - 2022-02-11
11+
12+ ### Fixed
13+
14+ * docker compose時に ` TAG_NAME ` を指定する記述を追加しました。(#788 )
15+
16+ ## v2.2.0 - 2022-02-10
1117
1218### Added
1319
Original file line number Diff line number Diff line change 6565
6666 ` ` ` sh
6767 cd ./setup
68+ TAG_NAME=$( git symbolic-ref --short HEAD | sed -e " s:/:-:g" )
6869 docker-compose up -d
6970 cd ..
7071 ` ` `
7374
7475 ` ` ` sh
7576 cd ./setup
77+ TAG_NAME=$( git symbolic-ref --short HEAD | sed -e " s:/:-:g" )
7678 docker-compose restart
7779 ` ` `
7880
Original file line number Diff line number Diff line change 2323from library .clientclass import BaseClient
2424from library .jma_amesh import jma_amesh
2525logger = getLogger (__name__ )
26- VERSION = "2.2.0 "
26+ VERSION = "2.2.1 "
2727
2828
2929def split_command (command : str , maxsplit : int = 0 ) -> List [str ]:
You can’t perform that action at this time.
0 commit comments