-
Notifications
You must be signed in to change notification settings - Fork 552
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: release v0.20.1
- Loading branch information
Showing
43 changed files
with
4,293 additions
and
551 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 |
---|---|---|
@@ -0,0 +1,138 @@ | ||
name: Generate embedded binaries | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
gen-nodetime: | ||
name: "Generate nodetime binaries" | ||
runs-on: ubuntu-latest | ||
concurrency: gen-nodetime | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up QEMU | ||
id: qemu | ||
uses: docker/setup-qemu-action@v1 | ||
with: | ||
image: tonistiigi/binfmt:latest | ||
platforms: all | ||
|
||
- uses: MOZGIII/install-ldid-action@v1 | ||
with: | ||
tag: v2.1.5-procursus2 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
|
||
- run: ./scripts/gen-nodetime | ||
|
||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
title: "feat(nodetime): update binaries" | ||
commit-message: "feat(nodetime): update binaries" | ||
body: "" | ||
branch: feat/gen-nodetime | ||
|
||
gen-protoc: | ||
name: "Generate protoc binaries" | ||
runs-on: ${{ matrix.runner.runs-on }} | ||
concurrency: gen-protoc-${{ matrix.runner.os }}-${{ matrix.runner.arch }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
runner: | ||
- runs-on: ubuntu-latest | ||
os: linux | ||
defaults-shell: bash | ||
arch: amd64 | ||
- runs-on: [ self-hosted, linux, arm64 ] | ||
os: linux | ||
defaults-shell: bash | ||
arch: arm64 | ||
- runs-on: [ self-hosted, macOS ] | ||
os: darwin | ||
defaults-shell: /usr/bin/arch -arch x86_64 /bin/bash -l {0} | ||
arch: amd64 | ||
- runs-on: [ self-hosted, macOS ] | ||
os: darwin | ||
defaults-shell: /usr/bin/arch -arch arm64e /bin/bash -l {0} | ||
arch: arm64 | ||
defaults: | ||
run: | ||
shell: ${{ matrix.runner.defaults-shell }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- run: | | ||
if [[ "${{ matrix.runner.os }}" == "darwin" ]]; then | ||
brew install jq autoconf automake libtool | ||
else | ||
sudo apt install -y jq autoconf automake libtool curl make g++ unzip | ||
fi | ||
- name: Build protoc files | ||
run: ./scripts/gen-protoc | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
title: "feat(protoc): update binaries ${{ matrix.runner.os }}-${{ matrix.runner.arch }}" | ||
commit-message: "feat(protoc): update binaries ${{ matrix.runner.os }}-${{ matrix.runner.arch }}" | ||
body: "" | ||
branch: feat/gen-protoc-${{ matrix.runner.os }}-${{ matrix.runner.arch }} | ||
|
||
|
||
gen-protoc-gen-dart: | ||
name: "Generate protoc dart binaries" | ||
runs-on: ${{ matrix.runner.runs-on }} | ||
concurrency: gen-protoc-gen-dart-${{ matrix.runner.os }}-${{ matrix.runner.arch }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
runner: | ||
- runs-on: ubuntu-latest | ||
dart-arch: x64 | ||
arch: amd64 | ||
os: linux | ||
defaults-shell: bash | ||
- runs-on: [self-hosted, linux, arm64] | ||
dart-arch: arm64 | ||
arch: arm64 | ||
os: linux | ||
defaults-shell: bash | ||
- runs-on: [self-hosted, macOS] | ||
dart-arch: arm64 | ||
arch: arm64 | ||
defaults-shell: /usr/bin/arch -arch arm64e /bin/bash -l {0} | ||
os: darwin | ||
- runs-on: [self-hosted, macOS] | ||
dart-arch: x64 | ||
arch: amd64 | ||
defaults-shell: /usr/bin/arch -arch x86_64 /bin/bash -l {0} | ||
os: darwin | ||
defaults: | ||
run: | ||
shell: ${{ matrix.runner.defaults-shell }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: dart-lang/setup-dart@v1 | ||
with: | ||
architecture: ${{ matrix.runner.dart-arch }} | ||
|
||
- name: Generate Dart files | ||
run: ./scripts/gen-protoc-gen-dart | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
title: "feat(protoc-gen-dart): update binaries ${{ matrix.runner.os }}-${{ matrix.runner.arch }}" | ||
commit-message: "feat(protoc-gen-dart): update binaries ${{ matrix.runner.os }}-${{ matrix.runner.arch }}" | ||
body: "" | ||
branch: feat/gen-protoc-gen-dart-${{ matrix.runner.os }}-${{ matrix.runner.arch }} |
This file was deleted.
Oops, something went wrong.
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
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,7 +17,7 @@ jobs: | |
- name: Delete the nightly release | ||
uses: dev-drprasad/[email protected] | ||
with: | ||
tag_name: nightly | ||
tag_name: v0.0.0-nightly | ||
delete_release: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -26,15 +26,15 @@ jobs: | |
uses: mathieudutour/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
custom_tag: nightly | ||
custom_tag: v0.0.0-nightly | ||
tag_prefix: "" | ||
|
||
- name: Upsert the nightly release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
tag: nightly | ||
tag: v0.0.0-nightly | ||
name: nightly | ||
body: "Install and move to bin: `curl https://get.ignite.com/cli@nightly! | bash`" | ||
body: "Install and move the CLI to your bin directory: `curl https://get.ignite.com/cli@v0.0.0-nightly! | bash`" | ||
prerelease: true | ||
|
||
- name: Set up Go | ||
|
@@ -52,10 +52,6 @@ jobs: | |
uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
workdir: ${{ env.working-directory }} | ||
# never versions always requires semver even with the use of --skip-validate flag. | ||
# we need to avoid semver since nightly release updated everytime there is chance on develop branch. | ||
# by avoiding semver, we prevent GOPROXY and pkg.go.dev to cache this tag. | ||
version: v0.157.0 | ||
args: release --rm-dist --skip-validate -f .goreleaser.nightly.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_PAT }} |
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
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
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
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
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
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
Oops, something went wrong.