-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(release): release v0.4.0 #1513
Merged
Merged
Changes from 18 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d82b2da
feat: cmd: implement import-runtime subcommand (#1483)
noot dfb95d2
fix(lib/crypto/ed25519): update ed25519 to use go-schnorrkel bip39 de…
noot 4529aee
fix(state) : Update StorageState to load storage from database. (#1486)
arijitAD 3880a40
fix(dot/state): fix usage of trie.Snapshot (#1489)
noot 3b2ad8d
fix(dot/state,dot/network): improve memory usage when syncing (#1491)
noot 22f7269
fix(dot/network): update notificationsProtocol handshakeData to sync.…
noot a6e0bd0
remove log (#1493)
noot ae7012b
feat(dot/network): request block justifications when near head (#1499)
noot f5de11e
chore(cmd): rename genesis-raw flag and files to genesis, allow raw a…
noot 976f53a
refactor: docs: Docs Overhaul (#1438)
RyRy79261 6e4298e
chore(codeowners): update codeowners file (#1505)
dutterbutter 3c05a88
fix: cmd/gossamer: Generate random name if --name flag not set (#1506)
edwardmack b7df8ed
chore(release): Automated release using semantic-release. (#1503)
arijitAD fcb4159
feat: dot/telemetry: Implement basic telemetry connection (#1497)
edwardmack 5089327
fix: fix edit link (#1507)
RyRy79261 9453957
chore(readme): Fix broken image link (#1509)
dutterbutter 98d1413
fix(dot/network): fix justification request at head logic (#1510)
noot 7850532
feat(dot/network): implement persistent peers functionality (#1512)
noot 271f92e
chore(release): Update name in package.json. (#1514)
arijitAD accaf69
feat(dot/network): Add cache for network message. (#1511)
arijitAD 558b9b3
chore(release): Fix Deepsource error on development branch. (#1516)
arijitAD File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# CODEOWNERS: https://help.github.com/articles/about-codeowners/ | ||
|
||
# Primary repo maintainers | ||
* @noot @arijitAD @edwardmack @RyRy79261 | ||
* @noot @arijitAD @edwardmack |
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 |
---|---|---|
@@ -1,56 +1,21 @@ | ||
name: docs | ||
|
||
name: Publish docs via GitHub Pages | ||
on: | ||
push: | ||
branches: | ||
- development | ||
|
||
env: | ||
RUBY_VERSION: 2.7 | ||
BUNDLE_GEMFILE: docs/Gemfile | ||
|
||
jobs: | ||
deploy_docs: | ||
runs-on: 'ubuntu-latest' | ||
build: | ||
name: Deploy docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ env.RUBY_VERSION }} | ||
- name: Setup cache for Bundler | ||
id: cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-gems- | ||
- name: Set up dependencies | ||
run: | | ||
bundle install --path=vendor/bundle --jobs 4 --retry 3 | ||
bundle clean | ||
- name: Clone target branch | ||
run: | | ||
REMOTE_BRANCH="${REMOTE_BRANCH:-gh-pages}" | ||
REMOTE_REPO="https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" | ||
echo "Publishing to ${GITHUB_REPOSITORY} on branch ${REMOTE_BRANCH}" | ||
rm -rf docs/_site/ | ||
git clone --depth=1 --branch="${REMOTE_BRANCH}" --single-branch --no-checkout \ | ||
"${REMOTE_REPO}" docs/_site/ | ||
- name: Build site | ||
run: bundle exec jekyll build --source docs --destination docs/_site --verbose --trace | ||
- name: Checkout main | ||
uses: actions/checkout@v2 | ||
|
||
- name: Deploy docs | ||
uses: mhausenblas/mkdocs-deploy-gh-pages@master | ||
env: | ||
# For jekyll-github-metadata | ||
JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Deploy to GitHub Pages | ||
run: | | ||
SOURCE_COMMIT="$(git log -1 --pretty="%an: %B" "$GITHUB_SHA")" | ||
pushd docs/_site &>/dev/null | ||
: > .nojekyll | ||
git add --all | ||
git -c user.name="${GITHUB_ACTOR}" -c user.email="${GITHUB_ACTOR}@users.noreply.github.com" \ | ||
commit --quiet \ | ||
--message "Deploy docs from ${GITHUB_SHA}" \ | ||
--message "$SOURCE_COMMIT" | ||
git push | ||
popd &>/dev/null | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CUSTOM_DOMAIN: gossamer.chainsafe.io | ||
CONFIG_FILE: docs/mkdocs.yml | ||
EXTRA_PACKAGES: build-base |
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,25 @@ | ||
name: Release | ||
on: | ||
push: | ||
branches: [main, development] | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
- name: Install dependencies | ||
run: npm install @semantic-release/changelog @semantic-release/git @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/exec @semantic-release/git semantic-release/release-notes-generator | ||
- name: Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: npx semantic-release |
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,45 @@ | ||
{ | ||
"branches": ["+([0-9])?(.{+([0-9]),x}).x", "main", "next"], | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
[ | ||
"@semantic-release/changelog", | ||
{ | ||
"changelogFile": "CHANGELOG.md", | ||
"changelogTitle": "# Semantic Versioning Changelog" | ||
} | ||
], | ||
[ | ||
"@semantic-release/npm", | ||
{ | ||
"npmPublish": false, | ||
"tarballDir": "dist" | ||
} | ||
], | ||
[ | ||
"@semantic-release/exec", | ||
{ | ||
"prepareCmd": "./prepare-release.sh ${nextRelease.version}" | ||
} | ||
], | ||
[ | ||
"@semantic-release/git", | ||
{ | ||
"assets": [ | ||
"CHANGELOG.md" | ||
] | ||
} | ||
], | ||
[ | ||
"@semantic-release/github", | ||
{ | ||
"assets": [ | ||
{ | ||
"path": "dist/**" | ||
} | ||
] | ||
} | ||
] | ||
] | ||
} |
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 was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This indicates that when we merge to either main or development the release workflow is triggered. Don't we just want this to be
main
? @arijitADThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The job will be triggered but it won't trigger a release. I will fix this after this release is done.