Closed psavery closed 4 years ago
You might be able to teach semantic release to update the readme to update the version as well like it does for package.json...
:tada: This issue has been resolved in version 1.0.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
The Docker build status badge in the README.md is currently pointing to the latest build that was triggered by a PR merge.
However, the Docker builds are no longer triggered by a PR merge, but are triggered by a release being created instead.
In theory, this badge should point to the docker builds created by a release:![Docker](https://github.com/hydroframe/SandTank/workflows/Docker/badge.svg?event=release)
But it isn't working, and I think it is because
semantic-release
is publishing the release from the tag (e. g.,v1.0.5
). We can point the badge to a specific release, like so:But this requires us to change the URL of the badge every time a new release is published.
It would be nice if we had a way to point the Docker status badge to the latest release, but I am not sure if it is possible. Until then, the docker badge on the README.md isn't communicating much - it won't change when a failure occurs.