# Handle prerelease tags in GitHub release publishing \(\#344\) · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/b74c7a79abbfbb7f6e8c5c4affb20784cea2b11c)

Repository: [gitcafe/t3code](https://git.cafe/gitcafe/t3code)

Visibility: public

Requested revision: b74c7a79abbfbb7f6e8c5c4affb20784cea2b11c

Requested commit: b74c7a79abbfbb7f6e8c5c4affb20784cea2b11c

Commit: b74c7a79abbfbb7f6e8c5c4affb20784cea2b11c

Tree: 39ad7783d0b9f0b789d3032937992f0cbc065294

Author: Theo Browne

Committer: GitHub

## Message

```
Handle prerelease tags in GitHub release publishing (#344)

* Handle prerelease tags when publishing GitHub releases

- Derive `is_prerelease` and `make_latest` from the version format in preflight
- Mark suffixed versions (for example `1.2.3-alpha.1`) as prereleases
- Keep only plain `X.Y.Z` releases marked as latest
- Document prerelease/latest behavior in `docs/release.md`

* Force desktop auto-updates to stable latest channel

- set Electron updater channel to `latest`
- disable prerelease and downgrade updates regardless of app version
```

## Parents

- [f772720d8c2a90448154271d7e4623f40cdf83fc](https://git.cafe/gitcafe/t3code/commit/f772720d8c2a90448154271d7e4623f40cdf83fc?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/t3code/tree/b74c7a79abbfbb7f6e8c5c4affb20784cea2b11c?format=markdown)
