Skip to content

Commit dc77c1f

Browse files
authored
Merge pull request #318 from KiraCore/v0.1.24-rc.8
v0.1.24-rc.8 -> master
2 parents 26e44b6 + 02876a8 commit dc77c1f

File tree

6 files changed

+56
-65
lines changed

6 files changed

+56
-65
lines changed

.github/workflows/main.yml

+11-34
Original file line numberDiff line numberDiff line change
@@ -7,59 +7,31 @@ on:
77
branches: [ v*.*.*, bugfix/*, master, dev, latest, testnet-*, mainnet-*, kira-* ]
88

99
jobs:
10-
# isolate signing & repo cloning from docker image
11-
setup:
12-
name: Repo Setup
10+
build:
11+
name: Repo Build
1312
runs-on: ubuntu-20.04
1413
permissions:
1514
contents: read
1615
packages: write
1716
id-token: write
1817
pull-requests: write
18+
container:
19+
image: ghcr.io/kiracore/docker/base-image:v0.8.0.0
1920
steps:
20-
# ref.: https://github.com/sigstore/cosign-installer, v2.1.0
21-
- name: Install cosign
22-
uses: sigstore/cosign-installer@581838fbedd492d2350a9ecd427a95d6de1e5d01
23-
with:
24-
cosign-release: 'v1.6.0'
25-
# ref.: https://github.com/actions/checkout, v3.0.0
2621
- name: Checkout repository
2722
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
2823
- name: Verify repo content
2924
run: |
3025
echo "(current dir): $PWD" && ls -l ./
3126
cd ../ && tar -czvf src.tar.gz -C ./sekai . && cp ./src.tar.gz ./sekai/src.tar.gz
32-
- name: Uploading artifacts
33-
uses: actions/upload-artifact@v3.0.0
34-
with:
35-
name: sekai-src
36-
path: ./src.tar.gz
37-
build:
38-
name: Repo Build
39-
runs-on: ubuntu-20.04
40-
permissions:
41-
contents: read
42-
packages: write
43-
id-token: write
44-
pull-requests: write
45-
needs: [setup]
46-
container:
47-
image: ghcr.io/kiracore/docker/base-image:v0.5.0.0
48-
steps:
27+
cd ./sekai
4928
- name: Checking dependency versions
5029
run: |
5130
. /etc/profile && echo "Utils Version: $(utilsVersion)"
5231
go version
53-
CDHelper version
54-
flutter --version
55-
dart --version
5632
echo "ENVS: $(env)"
5733
echo "HOME: $HOME"
5834
echo " PWD: $PWD"
59-
- name: Download artifacts
60-
uses: actions/download-artifact@v3.0.0
61-
with:
62-
name: sekai-src
6335
- name: Extract branch name on push
6436
if: github.event_name == 'push'
6537
shell: bash
@@ -104,16 +76,19 @@ jobs:
10476
make publish
10577
touch ./RELEASE.md
10678
cp -fv ./RELEASE.md ./bin/RELEASE.md
79+
cp -fv ./src.tar.gz ./bin/source-code.tar.gz
10780
chmod -Rv 777 ./bin
10881
echo -e "\n\r\n\r\`\`\`" >> ./bin/RELEASE.md
109-
echo -e " Release Versions: $RELEASE_VER\n\r" >> ./bin/RELEASE.md
82+
echo -e " Release Versions: $RELEASE_VER\n\r" >> ./bin/RELEASE.md
83+
echo -e " Release Date Time: $(date --rfc-2822)" >> ./bin/RELEASE.md
11084
echo " sekai-darwin-amd64.deb: sha256:$(sha256sum ./bin/sekai-darwin-amd64.deb | awk '{ print $1 }')" >> ./bin/RELEASE.md
11185
echo " sekai-darwin-arm64.deb: sha256:$(sha256sum ./bin/sekai-darwin-arm64.deb | awk '{ print $1 }')" >> ./bin/RELEASE.md
11286
echo " sekai-linux-amd64.deb: sha256:$(sha256sum ./bin/sekai-linux-amd64.deb | awk '{ print $1 }')" >> ./bin/RELEASE.md
11387
echo " sekai-linux-arm64.deb: sha256:$(sha256sum ./bin/sekai-linux-arm64.deb | awk '{ print $1 }')" >> ./bin/RELEASE.md
11488
echo "sekai-windows-amd64.exe: sha256:$(sha256sum ./bin/sekai-windows-amd64.exe | awk '{ print $1 }')" >> ./bin/RELEASE.md
11589
echo "sekai-windows-arm64.exe: sha256:$(sha256sum ./bin/sekai-windows-arm64.exe | awk '{ print $1 }')" >> ./bin/RELEASE.md
11690
echo " sekai-utils.sh: sha256:$(sha256sum ./bin/sekai-utils.sh | awk '{ print $1 }')" >> ./bin/RELEASE.md
91+
echo " source-code.tar.gz: sha256:$(sha256sum ./bin/source-code.tar.gz | awk '{ print $1 }')" >> ./bin/RELEASE.md
11792
echo -e "\`\`\`" >> ./bin/RELEASE.md
11893
tar -czvf deb.tar.gz -C ./bin .
11994
- name: Uploading artifacts
@@ -198,6 +173,7 @@ jobs:
198173
./sekai-windows-amd64.exe
199174
./sekai-windows-arm64.exe
200175
./sekai-utils.sh
176+
./source-code.tar.gz
201177
# ref: https://github.com/softprops/action-gh-release, v0.1.14
202178
# Release on merge only (push action) - this should run only once
203179
- name: Publish pre-release
@@ -221,6 +197,7 @@ jobs:
221197
./sekai-windows-amd64.exe
222198
./sekai-windows-arm64.exe
223199
./sekai-utils.sh
200+
./source-code.tar.gz
224201
# ref.: https://github.com/hmarr/auto-approve-action, v2.1.0
225202
# Do NOT approve IF release exists and the source branch is NOT a version branch
226203
- name: Approve pull request on success

RELEASE.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
**Features:**
44

5-
- Improved workflows to ensure consistency of releases
6-
- Added `version.sh` script to get SekiVersion variable consistently
7-
- Removed need to update release version in the `RELEASE.md` file
5+
- Removed setup step from main workflow
6+
- Added new transfer test to local tests
7+
- Fixed utils script missing home flags for some of the transaction queries
8+
- Added faucet account to local network setup

0 commit comments

Comments
 (0)