mirror of
https://github.com/element-hq/synapse.git
synced 2026-12-01 01:10:07 +00:00
Spawning from making a commit to the changelog while waiting for the CI
actions to finish and then when the upload step came up, it failed
because it expected the tag commit to be the `HEAD` commit.
```shell
$ poetry run ./scripts-dev/release.py full --gh-token $(pass show element.io/synapse_release_process_github_personal_access_token | head -n 1)
...
*** wait for actions ***
Workflows successful. You can now continue the release.
*** publish ***
Publish release v1.165.0 on GitHub? [Y/n]:
*** upload ***
Tag v1.165.0 (0adca7d1f7) is not currently checked out!
Aborted!
```
This check doesn't seem to protect us from anything as we don't interact
with the repo at this stage. This step simply gets the current version
from the current local package metadata, downloads from the associated
GitHub release, and uploads to the associated PyPI version.