File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,7 @@ VERSION=2
3
3
BUILD = 1
4
4
FIX = 64
5
5
6
+ MAJOR = 2
7
+ MINOR = 2
8
+ PATCH = 0
9
+ BUILDTIME = 20231002
Original file line number Diff line number Diff line change 42
42
43
43
- name : Load environment variables
44
44
run : |
45
- awk -v branch="${{ env.BRANCH }}" ' /^[0-9a-zA-Z]+$/ { current_branch = $0; } current_branch == branch && /^[A-Z_]+=/{ print $0; }' release.env >> $GITHUB_ENV
46
- echo "BUILDTIME=$(($(date +%s%N)/1000000))" >> $GITHUB_ENV
45
+ awk -v branch="${{ env.BRANCH }}" ' /^[0-9a-zA-Z]+$/ { current_branch = $0; } current_branch == branch && /^[A-Z_]+=/{ print $0; }' release.env | tee -a $GITHUB_ENV >> .env
46
+ echo "BUILDTIME=$(($(date +%s%N)/1000000))" >> .env
47
+ echo "RELEASE=${{ env.BRANCH }}" >> .env
47
48
48
49
- name : Set repo
49
50
run : |
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ services:
8
8
- 3000:3000
9
9
networks :
10
10
- node
11
+ env_file :
12
+ - .env
11
13
12
14
networks :
13
15
node :
You can’t perform that action at this time.
0 commit comments