A Substreams that emits few metrics out of a Substreams for each network to serve as a long running up check for Substreams deployments.
-
Define the version information that we are about to release:
version=1.0.0 # Use correct version, latest released is given by 'git describe --tags --abbrev=0'
Note Those instructions uses sd,
brew install sd
(or see sd) -
Prepare the release by updating the CHANGELOG.md file, updating
## Unreleased
title:sd "## Unreleased" "## [$version](https://github.com/streamingfast/substreams-monitoring-smoke-test/releases/tag/v$version)" CHANGELOG.md
-
Update substreams.yaml
version: vX.Y.Z
toversion: v1.0.0
:sd "version: v.*" "version: v$version" substreams.yaml
-
Commit to prepare release:
git add CHANGELOG.md substreams.yaml git commit -m "Preparing for release v$version"
-
Run the ./bin/release.sh Bash script to perform a new release. It will ask you questions as well as driving all the required commands, performing the necessary operation automatically. The Bash script publishes a GitHub release by default, so you can check first that everything is all right.
./bin/release.sh v$version
version=1.0.0 # Use correct version, latest released is given by 'git describe --tags --abbrev=0'
sd "## Unreleased" "## [$version](https://github.com/streamingfast/substreams-monitoring-smoke-test/releases/tag/v$version)" CHANGELOG.md &&\
sd "version: v.*" "version: v$version" substreams.yaml &&\
git add CHANGELOG.md substreams.yaml &&\
git commit -m "Preparing for release v$version" &&\
./bin/release.sh v$version