Skip to content

Commit

Permalink
Improve a document
Browse files Browse the repository at this point in the history
  • Loading branch information
itosho committed Mar 7, 2021
1 parent 18b36b8 commit 2aca8d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ $ gdp publish

### Supported tag's format
- [semantic version](https://semver.org/): e.g. v1.2.3 or 1.2.3
- date version: e.g. 20180525.1
- date version: e.g. 20180525.1 or release_20180525

### How to create generate note
Release note content is generated based on merge commit messages.
Expand Down
2 changes: 1 addition & 1 deletion format.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func GetNextVersion(tag string) (string, error) {
return strings.Join(tags, "."), nil
}

// date version(e.g. 20180525.1)
// date version(e.g. 20180525.1 or release_20180525.1)
const layout = "20060102"
today := time.Now().Format(layout)

Expand Down

0 comments on commit 2aca8d5

Please sign in to comment.