Skip to content

Conversation

@SuperQ
Copy link
Contributor

@SuperQ SuperQ commented Mar 1, 2021

Fixes release publishing.

list=$(git tag | grep '^v' | sort -rV)
for v in $list ; do
  ts=$(git rev-list -n 1 --pretty --date=format:'%Y-%m-%d' $v | awk '$1 == "Date:" {print $2}')
  echo "## $v / $ts"
done

Signed-off-by: Ben Kochie [email protected]

Fixes release publishing.

```bash
list=$(git tag | grep '^v' | sort -rV)
for v in $list ; do
  ts=$(git rev-list -n 1 --pretty --date=format:'%Y-%m-%d' $v | awk '$1 == "Date:" {print $2}')
  echo "## $v / $ts"
done
```

Signed-off-by: Ben Kochie <[email protected]>
@SuperQ SuperQ requested review from roidelapluie and wrouesnel March 1, 2021 11:10
@SuperQ SuperQ merged commit 5c386e3 into master Mar 1, 2021
@SuperQ SuperQ deleted the superq/fix_changelog_dates branch March 1, 2021 12:26
ritbl pushed a commit to heniek/postgres_exporter that referenced this pull request Mar 19, 2023
…/superq/fix_changelog_dates

Add dates to changelog entries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants