Skip to content

Commit e7d2072

Browse files
committed
C-RELNOTES: use git-log to get the date directly
1 parent df9c5e2 commit e7d2072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ published. A similar process should exist for non-git VCS tools as well.
268268

269269
```bash
270270
# Tag the current commit
271-
GIT_COMMITTER_DATE=$(git show --format=%aD | head -1) git tag -a -m "Release 0.3.0" 0.3.0
271+
GIT_COMMITTER_DATE=$(git log -n1 --pretty=%aD) git tag -a -m "Release 0.3.0" 0.3.0
272272
git push --tags
273273
```
274274

0 commit comments

Comments
 (0)