All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
A lot of internals to this program were exposed to external consumers. This was used to provide an integration test.
Support for bracketed versions was added, a-la:
## [0.1.0] Hi there this is a test! ### ADDED - something
The gitea crate was brought up to version 0.2.0 and includes a lot more functionality.
This is a functionality-breaking release that removes untested/extraneous parts of this project.
Automagically fetch tags when running as a drone plugin.
Hotfix in json parsing
Allows for a customizable default branch name for the drone plugin using either a hard-coded value or the Gitea api to fetch it. For compatibility’s sake, the default behavior is to fetch the default branch name from the Gitea api. If you need to hard-code your default branch name, add the config like this:
- name: auto-release image: xena/gitea-release:0.3.1 settings: auth_username: cadey default_branch: trunk gitea_server: https://tulpa.dev gitea_token: from_secret: GITEA_TOKEN when: event: - push branch: - trunk
Also fixed a suggestion to fetch tags over git before trying to run this in Drone.
Exit if this version already exists
A fix from @kivikakk to remove the use of RefCells in markdown parsing
I need to make some kind of drone CI validator
Typo in the CD script :D
Update README, automatically push docker images
Hotfix for typos in the docker manifest.
Drone Plugin Support
To use this as a drone plugin, use the following config:
- name: auto-release image: xena/gitea-release:0.2.0 settings: auth_username: cadey gitea_server: https://tulpa.dev gitea_token: from_secret: GITEA_TOKEN when: branch: include: - master
This is the first release of gitea-release!
$ gitea-release release --help gitea-release-release 0.1.0 Create a new tag and release on Gitea USAGE: gitea-release release [FLAGS] [OPTIONS] --auth-user
--owner --repo --server --token FLAGS: --draft Draft release -h, --help Prints help information -p, --pre-release Pre-release (not suitable for production) -V, --version Prints version information OPTIONS: -a, --auth-user The gitea user to authenticate as [env: GITEA_AUTH_USER=cadey] -c, --changelog Changelog file to read from to create the release description [default: ./CHANGELOG.md] -n, --name Release name -o, --owner The owner of the gitea repo [env: GITEA_OWNER=] -r, --repo The gitea repo to operate on [env: GITEA_REPO=] -s, --server The gitea server to connect to [env: GITEA_SERVER=https://tulpa.dev] --token The gitea token to authenticate with [env: GITEA_TOKEN=] ADDED Basic functionality