-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
87,737 additions
and
16,968 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,62 @@ | ||
name: Create PR Deploy to Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- deploy/* | ||
pull_request: | ||
branches: | ||
- deploy/* | ||
|
||
env: | ||
HEAD_BRANCH: ${{ github.head_ref || github.ref_name }} | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set Env | ||
run: | | ||
echo "PR_BRANCH=merge/${HEAD_BRANCH}" >> $GITHUB_ENV | ||
echo "VERSION=$(echo -n ${{ env.HEAD_BRANCH }} | sed 's/.*deploy\///' | cut -d'-' -f1)" >> $GITHUB_ENV | ||
echo "NETWORK=$(echo -n ${{ env.HEAD_BRANCH }} | sed 's/.*deploy\/v[0-9\.]*-\(.*\)/\1/')" >> $GITHUB_ENV | ||
- name: Checkout code | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
ref: 'release/${{ env.VERSION }}' | ||
fetch-depth: 0 | ||
fetch-tags: 'true' | ||
|
||
- name: Get Testnet Latest Tag | ||
if: ${{ env.NETWORK == 'testnet' }} | ||
run: | | ||
echo "LATESTTAG=$(git describe --tags --match "*testnet*" --abbrev=0)" >> $GITHUB_ENV | ||
- name: Get Mainnet Latest Tag | ||
if: ${{ env.NETWORK == 'mainnet' }} | ||
run: | | ||
echo "LATESTTAG=$(git describe --tags --match "*mainnet*" --abbrev=0)" >> $GITHUB_ENV | ||
- name: Reset promotion branch | ||
run: | | ||
git fetch origin ${HEAD_BRANCH}:${HEAD_BRANCH} | ||
git reset --hard ${HEAD_BRANCH} | ||
- name: Generate Release note | ||
id: template | ||
run: | | ||
echo "VERSION=${{ env.VERSION }} - SHA: ${{ github.sha }}" > CHANGELOG.md | ||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 #v5.0.2 | ||
with: | ||
labels: automated PR | ||
delete-branch: true | ||
title: 'chore(`release/${{ env.VERSION }}`): merge from `${{ env.HEAD_BRANCH}}`' | ||
body: ${{ steps.template.outputs.result }} | ||
branch: ${{ env.PR_BRANCH }} |
File renamed without changes.
File renamed without changes.
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,47 @@ | ||
name: Create PR from release to network | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- release/* | ||
types: | ||
- closed | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
env: | ||
HEAD_BRANCH: ${{ github.head_ref || github.ref_name }} | ||
RELEASE_BRANCH: ${{ github.event.pull_request.base.ref}} | ||
|
||
jobs: | ||
merge-release-to-network: | ||
runs-on: ubuntu-latest | ||
if: ${{ (github.event.pull_request.merged == true) && (contains(github.head_ref, 'deploy') || contains(github.ref_name, 'deploy')) }} | ||
steps: | ||
- name: Set Env | ||
run: | | ||
echo "PR_BRANCH=merge/${HEAD_BRANCH}" >> $GITHUB_ENV | ||
echo "VERSION=$(echo -n ${{ env.HEAD_BRANCH }} | sed 's/.*deploy\///' | cut -d'-' -f1)" >> $GITHUB_ENV | ||
echo "NETWORK=$(echo -n ${{ env.HEAD_BRANCH }} | sed 's/.*deploy\/v[0-9\.]*-\(.*\)/\1/')" >> $GITHUB_ENV | ||
- name: Checkout code | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
ref: ${{ env.NETWORK }} | ||
|
||
- name: Reset promotion branch | ||
run: | | ||
git fetch origin ${RELEASE_BRANCH}:${RELEASE_BRANCH} | ||
git reset --hard ${RELEASE_BRANCH} | ||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 #v5.0.2 | ||
with: | ||
labels: automated PR | ||
delete-branch: true | ||
title: 'chore(`${{ env.NETWORK }}`): merge from `${{ env.HEAD_BRANCH}}`' | ||
body: ${{ steps.template.outputs.result }} | ||
branch: ${{env.PR_BRANCH}} |
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,64 @@ | ||
name: Create Release Tag | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
branches: | ||
- mainnet | ||
- testnet | ||
|
||
env: | ||
HEAD_BRANCH: ${{ github.head_ref || github.ref_name }} | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
create-release-tag: | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.merged == true | ||
steps: | ||
- name: Set Env | ||
run: | | ||
echo "VERSION=$(echo -n ${{ env.HEAD_BRANCH }} | sed 's/.*deploy\///' | cut -d'-' -f1)" >> $GITHUB_ENV | ||
echo "NETWORK=$(echo -n ${{ env.HEAD_BRANCH }} | sed 's/.*deploy\/v[0-9\.]*-\(.*\)/\1/')" >> $GITHUB_ENV | ||
- name: Checkout code | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
ref: ${{ env.NETWORK }} | ||
fetch-depth: 0 | ||
fetch-tags: 'true' | ||
|
||
- name: Set Mainnet Tag | ||
if: ${{ env.NETWORK == 'mainnet' }} | ||
run: | | ||
echo "TAG=${{ env.VERSION }}" >> $GITHUB_ENV | ||
- name: Set Testnet Tag | ||
if: ${{ env.NETWORK == 'testnet' }} | ||
run: | | ||
echo "TAG=${{ env.VERSION }}-testnet" >> $GITHUB_ENV | ||
- name: Get Testnet Latest Tag | ||
if: ${{ env.NETWORK == 'testnet' }} | ||
run: | | ||
echo "LATESTTAG=$(git describe --tags --match "*testnet*" --abbrev=0)" >> $GITHUB_ENV | ||
- name: Get Mainnet Latest Tag | ||
if: ${{ env.NETWORK == 'mainnet' }} | ||
run: | | ||
echo "LATESTTAG=$(git describe --tags --match "*mainnet*" --abbrev=0)" >> $GITHUB_ENV | ||
- name: Create release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ env.TAG }} | ||
run: | | ||
gh release create "$tag" \ | ||
--repo "$GITHUB_REPOSITORY" \ | ||
--title "${{ env.NETWORK }} release ${{ env.VERSION }}" \ | ||
--target "${{ env.NETWORK }}" \ | ||
--notes-start-tag "${{ env.LATESTTAG }}" \ | ||
--generate-notes |
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 |
---|---|---|
|
@@ -20,4 +20,5 @@ docs/ | |
node_modules/ | ||
yarn-error.log | ||
.yarn | ||
.yarnrc.yml | ||
.yarnrc.yml | ||
script/data/* |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
VERSION=v0.3.4 - SHA: 31f2c28744fa8628b707591dd30496a7bc63f6bb |
32 changes: 32 additions & 0 deletions
32
...ast/01_UpgradeRNSDomainPrice_OverrideTierForCommunityNames.s.sol/2020/run-1710239642.json
Large diffs are not rendered by default.
Oops, something went wrong.
61 changes: 61 additions & 0 deletions
61
...ast/01_UpgradeRNSDomainPrice_OverrideTierForCommunityNames.s.sol/2020/run-1710239649.json
Large diffs are not rendered by default.
Oops, something went wrong.
61 changes: 61 additions & 0 deletions
61
broadcast/01_UpgradeRNSDomainPrice_OverrideTierForCommunityNames.s.sol/2020/run-latest.json
Large diffs are not rendered by default.
Oops, something went wrong.
193 changes: 193 additions & 0 deletions
193
...ast/01_UpgradeRNSDomainPrice_OverrideTierForCommunityNames.s.sol/2021/run-1708497842.json
Large diffs are not rendered by default.
Oops, something went wrong.
8,620 changes: 8,620 additions & 0 deletions
8,620
...ast/01_UpgradeRNSDomainPrice_OverrideTierForCommunityNames.s.sol/2021/run-1708497849.json
Large diffs are not rendered by default.
Oops, something went wrong.
8,826 changes: 8,826 additions & 0 deletions
8,826
broadcast/01_UpgradeRNSDomainPrice_OverrideTierForCommunityNames.s.sol/2021/run-latest.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.