Commit Graph

342 Commits

Author SHA1 Message Date
Beatriz Vieira 7871515ac0 refactor: move template funcions to a new go file
issue: #40
2022-02-28 23:40:29 -03:00
Beatriz Vieira 79df6b030f feat: add getsection template function
issue: #40
2022-02-28 23:38:11 -03:00
Beatriz Vieira 19bf65fbb3 chore: update config version
issue: #40
2022-02-28 23:37:26 -03:00
Beatriz Vieira 7d8ed49e17 feat: add HasMultipleTypes to ReleaseNoteCommitsSection
issue: #40
2022-02-28 21:17:37 -03:00
Beatriz Vieira 67042ac1e7 feat: migrate 'release-notes.headers' to 'release-notes.sections'
issue: #40
2022-02-28 20:47:45 -03:00
Beatriz Vieira ebb70048ee feat: use release-notes.sections to sort sections on template variables
issue: #40
2022-02-07 22:49:32 -03:00
Beatriz Vieira e650f64783 feat: add sections to release-notes config (headers is deprecated)
issue: #40
2022-02-07 20:40:53 -03:00
Beatriz Vieira e64d4ddcc1 feat: print warning logs on stderr
issue: #40
2022-02-07 20:37:39 -03:00
Beatriz Vieira 94fff067a1 refactor: remove order from templates variables and add authors
issue: #40
2022-02-06 22:06:46 -03:00
Beatriz Vieira 243d73b5c2 feat: add authorName and timestamp to git commit
issue: #40
2022-02-06 20:16:52 -03:00
Beatriz Vieira ef2bc8638a feat: add support to use templates defined on the repository (.sv4git/templates)
issue: #40
2022-02-06 18:22:54 -03:00
Beatriz Vieira 9eaff5d128
Merge pull request #42 from bvieira/#40-refactor-templates
Refactor: extract templates from code
2022-02-06 18:20:25 -03:00
Beatriz Vieira 0230b1e00f refactor: move templates from sv to cmd/git-sv
issue: #40
2022-02-06 18:15:36 -03:00
Beatriz Vieira b5d9f9c535 refactor: extract templates from code and use go:embed
issue: #40
2022-01-30 18:45:16 -03:00
Beatriz Vieira 6b4948b103
Merge pull request #41 from bvieira/support-non-versioned-tags
Feature: Support non versioned tags
2022-01-29 19:31:44 -03:00
Beatriz Vieira 36f6f9eba5 Merge branch 'support-non-versioned-tags' of github.com:bvieira/sv4git into support-non-versioned-tags 2022-01-29 19:26:05 -03:00
Beatriz Vieira 6352021adb feat: add semantic-version-only flat to changelog command 2022-01-29 19:25:52 -03:00
Beatriz Vieira c9b6a8c391
Merge pull request #39 from rbuckland/arch-issue38
build: resolves #38 providing arm64 and amd64 releases
2022-01-29 19:21:21 -03:00
Ramon Buckland b89b4838ae build: resolves #38 providing arm64 and amd64 releases 2022-01-11 16:13:26 +11:00
Beatriz Vieira ab57089ddd test: test nil version on NextVersion function 2021-12-29 18:07:52 -03:00
Beatriz Vieira ff30229bf9 feat: support non version tags on changelog and release notes 2021-12-29 18:02:50 -03:00
Beatriz Vieira dad378482e build: update dependencies 2021-12-29 15:56:11 -03:00
Beatriz Vieira 14db4955b3 chore: update gomod to go 1.17 2021-12-29 15:53:44 -03:00
Beatriz Vieira f46122c547
Merge pull request #34 from bvieira/dependabot/go_modules/github.com/manifoldco/promptui-0.9.0
build(deps): bump github.com/manifoldco/promptui from 0.8.0 to 0.9.0
2021-12-29 15:52:40 -03:00
dependabot[bot] 703012f701
build(deps): bump github.com/manifoldco/promptui from 0.8.0 to 0.9.0
Bumps [github.com/manifoldco/promptui](https://github.com/manifoldco/promptui) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/manifoldco/promptui/releases)
- [Changelog](https://github.com/manifoldco/promptui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/manifoldco/promptui/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/manifoldco/promptui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 04:43:14 +00:00
Beatriz Vieira d53ef6588d
Merge pull request #32 from bvieira/minor-improvement
Feature: return tag name on git sv tag
2021-09-24 18:48:20 -03:00
Beatriz Vieira 2ad08a207a ci: fix branch name 2021-09-24 18:42:36 -03:00
Beatriz Vieira 53f25edf84 ci: config gh actions on pull-request and master 2021-09-24 18:38:38 -03:00
Beatriz Vieira 84e8c9d168 feat: print tag name on git sv tag 2021-09-24 17:59:38 -03:00
Beatriz Vieira d02c8b59f6 refactor: better log on cli failure 2021-09-24 17:50:59 -03:00
Beatriz Vieira 1cb825c4b0 fix: print error output at git sv tag 2021-09-24 17:49:58 -03:00
Beatriz Vieira 08e51ae2c3 chore: update .gitignore 2021-09-24 17:36:01 -03:00
Beatriz Vieira c28719e990
docs: add pkg.go.dev badge 2021-09-04 12:18:44 -03:00
Beatriz Vieira 3dd3cbc5d7 chore: enable dependabot 2021-08-28 14:53:27 -03:00
Beatriz Vieira 22cc3a16a5 docs: add go install on readme 2021-08-28 14:53:14 -03:00
Beatriz Vieira 02d5e658ab
Merge pull request #31 from bvieira/fix-gomodule
fix: set go module name to be compatible with v2
2021-07-31 20:41:05 -03:00
Beatriz Vieira c479f4a575 fix: set go module name to be compatible with v2 2021-07-31 20:40:05 -03:00
Beatriz Vieira 48f7fc35f9
Merge pull request #30 from bvieira/default-version
Refactor: default version 'source'
2021-07-31 19:57:58 -03:00
Beatriz Vieira 8fa467b5f0 refactor: if version is not set during build, use version 'source' as default 2021-07-31 19:10:21 -03:00
Beatriz Vieira 2527563975 refactor: isolate load config inside a function 2021-07-31 19:05:22 -03:00
Beatriz Vieira 8597819cfa
Merge pull request #29 from bvieira/cli-errors
Bugfix: better logs on fatal errors
2021-07-31 18:42:01 -03:00
Beatriz Vieira 721e39feb1 fix: add better logs on fatal errors 2021-07-31 18:20:56 -03:00
Beatriz Vieira 10ec6f18c4 refactor: fix lint golint uncommented exported method 2021-07-31 18:19:57 -03:00
Beatriz Vieira d76920bb5c
Merge pull request #28 from bvieira/lint
CI: add golangci to github actions
2021-07-31 17:56:29 -03:00
Beatriz Vieira 178239a666 refactor: fix lint gosimple S1007 2021-07-31 17:52:25 -03:00
Beatriz Vieira 6fd31b9aa0 refactor: fix lint staticcheck SA9004 2021-07-31 17:44:42 -03:00
Beatriz Vieira 5993f00757 ci: remove fast from golangci 2021-07-31 17:35:15 -03:00
Beatriz Vieira fec91a1947 refactor: fix errcheck lint 2021-07-31 17:34:40 -03:00
Beatriz Vieira 7b3df4e245 refactor: remove unused variables 2021-07-31 17:09:25 -03:00
Beatriz Vieira 11580133b0 style: add newline to .golangci.yml 2021-07-31 16:58:28 -03:00