Commit Graph

71 Commits

Author SHA1 Message Date
delvh ff5c3f7b47
Restore GitHub functionality
My guess is that GitHub changed something here recently, which is why it
no longer worked without the explicit arguments
2023-07-15 22:03:01 +02:00
6543 482c085290 Respect --token argument on github too (#79)
Reviewed-on: https://gitea.com/gitea/changelog/pulls/79
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: delvh <dev.lh@web.de>
2023-06-23 17:20:48 +00:00
techknowlogick 07c0fc1414 release tag pipeline 2023-04-14 15:17:23 -04:00
jolheiser 8156d742f5 Update to urfave/cli/v3 (#77)
This allows for persistent flags, such that `changelog -m v0.4.0 generate` and `changelog generate -m v0.4.0` are equivalent.

Reviewed-on: https://gitea.com/gitea/changelog/pulls/77
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
2023-04-03 11:51:25 +08:00
jolheiser 70c955ae17 Title-case PR title (#76)
Resolves #60

Extracts the previous trim into a new func as well to keep any title munging consistent.

Reviewed-on: https://gitea.com/gitea/changelog/pulls/76
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
2023-03-22 04:35:58 +08:00
jolheiser cbd80881bc Trim space on title (#75)
Resolves #74

Reviewed-on: https://gitea.com/gitea/changelog/pulls/75
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: silverwind <silverwind@noreply.gitea.io>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
2023-03-21 09:54:34 +08:00
techknowlogick 374ea1ab46 checksum compressed files too 2023-03-18 01:58:55 -04:00
techknowlogick d17e881692 properly format checksum file 2023-03-18 01:49:03 -04:00
techknowlogick 66f3e382a1 upload custom files 2023-03-18 01:32:19 -04:00
techknowlogick 0650d7c623 generate full checksum 2023-03-18 01:27:14 -04:00
techknowlogick bda1f380e2 execute with shell 2023-03-18 01:20:34 -04:00
techknowlogick b3eaafbefe add executable bit 2023-03-18 01:16:18 -04:00
techknowlogick 88538267db individual checksums 2023-03-18 01:09:05 -04:00
techknowlogick d55f6646fb simplify hooks 2023-03-18 00:59:17 -04:00
techknowlogick f2b3d8d60f run post build 2023-03-18 00:53:02 -04:00
techknowlogick 583ac7def2 xz binaries 2023-03-18 00:45:40 -04:00
techknowlogick a632296831 actions: test pull requests (#72)
Reviewed-on: https://gitea.com/gitea/changelog/pulls/72
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-committed-by: techknowlogick <techknowlogick@gitea.io>
2023-03-17 04:50:35 +08:00
techknowlogick f18b011032 build and release nightly (#71)
Reviewed-on: https://gitea.com/gitea/changelog/pulls/71
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-committed-by: techknowlogick <techknowlogick@gitea.io>
2023-03-17 04:36:25 +08:00
John Olheiser 8fc84c6a2d Allow for GH token (#70)
After running a few times this morning I started hitting rate limits, so this was a quick way to set an optional GH token.

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/70
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: appleboy <appleboy.tw@gmail.com>
Co-authored-by: John Olheiser <john+gitea@jolheiser.com>
Co-committed-by: John Olheiser <john+gitea@jolheiser.com>
2023-02-28 06:21:21 +08:00
techknowlogick e05ef3c254 use go 1.20 (#68)
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/68
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: appleboy <appleboy.tw@gmail.com>
2023-02-28 05:59:03 +08:00
techknowlogick 5f171f4c5e use drone secrets for s3 info (#69)
Reviewed-on: https://gitea.com/gitea/changelog/pulls/69
2023-02-08 06:05:57 +08:00
Andrew Thornton 3b83ddcefb Pass global flags down to subcommands (#54)
Fix #51

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/54
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-committed-by: Andrew Thornton <art27@cantab.net>
2022-09-16 17:31:37 +08:00
techknowlogick 37ed264d72 rename primary branch (#67)
Reviewed-on: https://gitea.com/gitea/changelog/pulls/67
2022-08-22 23:53:51 +08:00
John Olheiser e8f6cebd8b New install method for gxz (#65)
Reviewed-on: https://gitea.com/gitea/changelog/pulls/65
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john+gitea@jolheiser.com>
Co-committed-by: John Olheiser <john+gitea@jolheiser.com>
2022-06-23 20:23:37 +08:00
John Olheiser 05a5366d7f Skip un-grouped PRs if no default is set (#64)
Reviewed-on: https://gitea.com/gitea/changelog/pulls/64
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: John Olheiser <john+gitea@jolheiser.com>
Co-committed-by: John Olheiser <john+gitea@jolheiser.com>
2022-06-22 17:16:56 +08:00
John Olheiser 57e620da5b Updates and priority changes (#62)
Reviewed-on: https://gitea.com/gitea/changelog/pulls/62
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john+gitea@jolheiser.com>
Co-committed-by: John Olheiser <john+gitea@jolheiser.com>
2022-06-22 09:27:24 +08:00
6543 f3ee0e5726 Add flag to specify git tag (#58)
close #57

Reviewed-on: https://gitea.com/gitea/changelog/pulls/58
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
2022-03-13 10:33:03 +08:00
techknowlogick 0ec4342863 use direct s3 endpoint (#59)
Reviewed-on: https://gitea.com/gitea/changelog/pulls/59
2022-03-11 05:02:27 +08:00
techknowlogick ea56b8af5a build with go1.17 & use supported s3 plugin (#56)
this will build with arm64 for darwin because it has been added to xgo plugin

Co-authored-by: Matti R <matti@mdranta.net>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/56
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Alexey 〒erentyev <axifive@noreply.gitea.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-committed-by: techknowlogick <techknowlogick@gitea.io>
2021-10-09 02:57:05 +08:00
Lunny Xiao c38cabc3dc Upgrade gitea sdk to v0.14.0 (#53)
As title.

Reviewed-on: https://gitea.com/gitea/changelog/pulls/53
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-05-17 18:39:53 +08:00
6543 18ff9e6a0d Update Gitea SDK to v0.13.0 (#49)
adapt new functions

update sdk to v0.13.0

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/49
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: jaqra <jaqra@noreply.gitea.io>
2020-09-22 21:38:11 +00:00
6543 c48910002d Changelog v0.2.0 (#48)
use new release page links

Changelog v0.2.0

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/48
Reviewed-by: jaqra <jaqra@noreply.gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-08-07 13:57:07 +00:00
6543 ec4e62ff9d Update Vendors (#46)
Update Vendors:
* code.gitea.io/sdk/gitea v0.12.1
* github.com/urfave/cli/v2 v2.2.0
* gopkg.in/yaml.v2 v2.3.0

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/46
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-08-07 13:48:37 +00:00
6543 b3574b331b Gitea Service: Use single release page (>= 1.12) (#47)
code format: "...happy path at the end..."

try to fix lint

gitea >= 1.12 has single release page

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/47
Reviewed-by: jaqra <jaqra@noreply.gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-08-07 13:41:58 +00:00
6543 cc58d758be Update google/go-github to v32.1.0 (#45)
Update google/go-github to v32.1.0

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/45
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-08-07 11:55:11 +00:00
jaqra e532c4d5cd Add generate from issues argument (#44)
Fix posible nil problem

Process only merged PRs

Rename variable

Fix github query for issues

Fix typo

Split function & fix lint

Rename variable name

Fix lint error

Add generate from issues argument

Co-authored-by: jaqra <jaqra@hotmail.com>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/44
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-08-04 13:30:19 +00:00
6543 f3a2d35420 Update code.gitea.io/sdk/gitea to v0.12.0 (#43)
update code.gitea.io/sdk/gitea to v0.12.0

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/43
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
2020-05-27 13:51:02 +00:00
Lunny Xiao b8fcd83de4 Fix bug only list first page when get prs from gitea (#41)
Fix bug only list first page when get prs from gitea

Reviewed-on: https://gitea.com/gitea/changelog/pulls/41
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: 6543 <6543@noreply.gitea.io>
2020-03-29 01:56:21 +00:00
Lunny Xiao cbd79ff6d9 Set default service as github when service type empty (#40)
Set default service as github

Reviewed-on: https://gitea.com/gitea/changelog/pulls/40
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: 6543 <6543@noreply.gitea.io>
2020-03-06 11:54:25 +00:00
Andrew Thornton fe3041f2f9 Add newline after title (#39)
Add newline after title

Reviewed-on: https://gitea.com/gitea/changelog/pulls/39
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-02-16 00:32:36 +00:00
6543 068df6d865 Changelog 0.1.1 (#38)
spell impruvements

changelog 0.1.1

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/38
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-02-03 00:14:22 +00:00
6543 a9ba232835 use .changelog.yml config if in working dir (#37)
use .changelog.yml config if in working dir

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/37
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-02-02 22:45:12 +00:00
6543 cb765dc996 Fix closed milestone issue (#35)
update go-sdk to fix closed milestone issue

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/35
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-01-31 15:48:37 +00:00
techknowlogick ad405d67fe Update '.drone.yml' (#34)
Update '.drone.yml'

Reviewed-on: https://gitea.com/gitea/changelog/pulls/34
2020-01-27 02:52:04 +00:00
John Olheiser 3c1b200883 Add init command (#33)
Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/33
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
2020-01-27 02:42:24 +00:00
John Olheiser 601bf3f04c Update installation instructions (#32)
Update installation instructions

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/32
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-01-26 22:30:22 +00:00
techknowlogick f1d64c02e4 Update 'Makefile' (#31)
Update 'Makefile'

Reviewed-on: https://gitea.com/gitea/changelog/pulls/31
2020-01-26 20:09:41 +00:00
techknowlogick 274edbfcb2 Update 'Makefile' (#30)
Update 'Makefile'

Reviewed-on: https://gitea.com/gitea/changelog/pulls/30
2020-01-26 19:48:59 +00:00
techknowlogick 0af51468e3 keep release step close to gitea one (#29)
Update '.drone.yml'

keep release step close to gitea one

Reviewed-on: https://gitea.com/gitea/changelog/pulls/29
Reviewed-by: 6543 <6543@noreply.gitea.io>
2020-01-26 19:43:59 +00:00
John Olheiser 660d748ddc Changelog 0.1.0 (#28)
Changelog 0.1.0

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/28
Reviewed-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Reviewed-by: 6543 <6543@noreply.gitea.io>
2020-01-26 07:23:56 +00:00