Skip to content

Commit

Permalink
Separate section and print PS version
Browse files Browse the repository at this point in the history
  • Loading branch information
andys8 committed Aug 26, 2023
1 parent e4bcf1c commit 39fbdb2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/mdbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ jobs:
with:
mdbook-version: 'latest'

- name: Add publish date
- name: Add version section
run: |
version=$(purs --version)
today=$(date -I)
echo -e "\n\nPublished on $today." >> README.md
echo -e "\n## Version\n" >> README.md
echo -e "PureScript v$version\n" >> README.md
echo -e "Last update on $today" >> README.md
- run: mdbook build

Expand Down

0 comments on commit 39fbdb2

Please sign in to comment.