Add a setgitversion script to update the version string with git

This commit is contained in:
Vidar Holen
2021-09-18 19:32:12 -07:00
parent e7df718724
commit db4701d8b5
3 changed files with 15 additions and 1 deletions

View File

@@ -16,9 +16,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Package Source
run: |
./setgitversion
mkdir source
cabal sdist
mv dist-newstyle/sdist/*.tar.gz source/source.tar.gz