Skip to content

Commit 9283424

Browse files
Merge pull request #1138 from Chia-Network/develop
Release 1.2.9
2 parents 16c36f2 + dd4c6ef commit 9283424

13 files changed

+14729
-30883
lines changed

.babelrc

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
{
2-
"presets": ["@babel/preset-env"],
3-
"plugins": [
4-
"@babel/plugin-transform-runtime"
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"modules": "auto", // Ensures Babel handles ES modules and CommonJS appropriately
7+
"useBuiltIns": "usage",
8+
"corejs": 3 // If you're using polyfills, ensure you have core-js installed
9+
}
510
]
6-
}
11+
],
12+
"plugins": ["@babel/plugin-transform-runtime"],
13+
"sourceType": "unambiguous" // Babel will try to guess the type (CommonJS/ES Module)
14+
}

.github/workflows/build-installers.yaml

+14-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Build & Release
22

33
on:
44
push:
5-
branches:
6-
- main
75
tags:
86
- '**'
97
pull_request:
@@ -15,6 +13,10 @@ concurrency:
1513
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == 'refs/heads/main' && github.sha || '' }}
1614
cancel-in-progress: true
1715

16+
permissions:
17+
id-token: write
18+
contents: write
19+
1820
jobs:
1921
build_mac:
2022
name: Build Mac Installer
@@ -235,7 +237,15 @@ jobs:
235237
${{ env.EXE_FILE }}
236238
${{ env.WEB_FILE }}
237239
240+
- name: Get tag name
241+
id: tag-name
242+
run: |
243+
echo "TAGNAME=$(echo $GITHUB_REF | cut -d / -f 3)" >>$GITHUB_OUTPUT
244+
245+
- name: Gets JWT Token from GitHub
246+
uses: Chia-Network/actions/github/jwt@main
247+
238248
- name: Trigger apt repo update
239249
run: |
240-
curl -s -XPOST -H "Authorization: Bearer ${{ secrets.GLUE_ACCESS_TOKEN }}" --data '{"cadt_repo":"cadt-ui","release_version":"${{ steps.tag-name.outputs.TAGNAME }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/cadt/${{ github.sha }}/start
241-
curl -s -XPOST -H "Authorization: Bearer ${{ secrets.GLUE_ACCESS_TOKEN }}" --data '{"cadt_repo":"cadt-ui","release_version":"${{ steps.tag-name.outputs.TAGNAME }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/cadt/${{ github.sha }}/success/deploy
250+
curl -s -XPOST -H "Authorization: Bearer ${{ env.JWT_TOKEN }}" --data '{"cadt_repo":"cadt-ui","release_version":"${{ steps.tag-name.outputs.TAGNAME }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/cadt/${{ github.sha }}/start
251+
curl -s -XPOST -H "Authorization: Bearer ${{ env.JWT_TOKEN }}" --data '{"cadt_repo":"cadt-ui","release_version":"${{ steps.tag-name.outputs.TAGNAME }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/cadt/${{ github.sha }}/success/deploy

LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2023 Chia Network Inc.
1+
Copyright 2024 Chia Network Inc.
22
Licensed under the Apache License, Version 2.0 (the "License");
33
you may not use this file except in compliance with the License.
44

@@ -199,7 +199,7 @@ See the License for the specific language governing permissions and limitations
199199
same "printed page" as the copyright notice for easier
200200
identification within third-party archives.
201201

202-
Copyright 2023 Chia Network Inc.
202+
Copyright 2024 Chia Network Inc.
203203

204204
Licensed under the Apache License, Version 2.0 (the "License");
205205
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)