Skip to content

Commit

Permalink
fix readme, publish draft, rm gitlab-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam committed Sep 24, 2024
1 parent a151bc4 commit 58859cc
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 169 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,31 @@ jobs:
with:
name: build-macos
path: ./artifacts
publish:
name: Publish release
runs-on: ubuntu-latest
needs: [build-test-linux, build-macos]
permissions:
contents: write
steps:
- uses: actions/[email protected]
- uses: actions/download-artifact@v4
with:
name: build-linux
- uses: actions/download-artifact@v4
with:
name: build-mac
- name: Pack artifacts
run: |
tar -czvf ./substrate-contracts-node-linux.tar.gz ./substrate-contracts-node-linux
tar -czvf ./substrate-contracts-node-mac-universal.tar.gz ./substrate-contracts-node-mac
ls -la
- name: Publish release
uses: ghalactic/github-release-from-tag@v5
if: github.ref_type == 'tag'
with:
prerelease: false
draft: true
assets: |
- path: substrate-contracts-node-linux.tar.gz
- path: substrate-contracts-node-mac-universal.tar.gz
165 changes: 0 additions & 165 deletions .gitlab-ci.yml

This file was deleted.

12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,15 @@ We can have two types of releases:
Note: Before uploading, perform a dry run to ensure that it will be successful.
- [ ] Merge the release PR branch.
- [ ] Replace `XX` in this command with your incremented version number and execute it:
`git checkout main && git pull && git tag v0.XX.0 && git push origin v0.XX.0`.
```bash
TAG="v0.XX.0"
git checkout main
git pull
git tag -a ${TAG} -m "${TAG}"
git push origin ${TAG}
```
This will push a new tag with the version number to this repository.
- [ ] We have set this repository up in a way that tags à la `vX.X.X` trigger
a CI run that creates a GitHub draft release. You can observe CI runs on
[GitLab](https://gitlab.parity.io/parity/mirrors/substrate-contracts-node/-/pipelines).
- [ ] After tag is pushed CI creates a GitHub draft release.
This draft release will contain a binary for Linux and Mac and appear
under [Releases](https://github.com/paritytech/substrate-contracts-node/releases).
Add a description in the style of "Synchronized with [`polkadot-v1.8.0`](https://github.com/paritytech/polkadot-sdk/tree/release-polkadot-v1.8.0) branch."
Expand Down

0 comments on commit 58859cc

Please sign in to comment.