Skip to content

Commit

Permalink
[update docs] Add time of day to website blog to make sure that the l…
Browse files Browse the repository at this point in the history
…atest post appears first in list
  • Loading branch information
cmdcolin committed Jul 7, 2021
1 parent 42c6032 commit 41b9f3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ mv tmp.md CHANGELOG.md

# Blog post text
NOTES=$(cat "$BLOGPOST_DRAFT")
DATE=$(date +"%Y-%m-%d")
DATE=$(date +"%Y-%m-%d %H:%M:%S")
## Blogpost run after lerna version, to get the accurate tags
BLOGPOST_FILENAME=website/blog/${DATE}-${RELEASE_TAG}-release.md
RELEASE_TAG=$RELEASE_TAG DATE=$DATE NOTES=$NOTES CHANGELOG=$CHANGELOG perl -p -e 's/\$\{([^}]+)\}/defined $ENV{$1} ? $ENV{$1} : $&/eg' <scripts/blog_template.txt >"$BLOGPOST_FILENAME"
Expand Down
2 changes: 1 addition & 1 deletion website/blog/2021-07-06-v1.3.1-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: v1.3.1 Release
date: 2021-07-06
date: 2021-07-06 14:38:12
tags: ['release', 'jbrowse 2']
---

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2021-07-06-v1.3.2-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: v1.3.2 Release
date: 2021-07-06
date: 2021-07-06 23:38:29
tags: ['release', 'jbrowse 2']
---

Expand Down

0 comments on commit 41b9f3e

Please sign in to comment.