File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -19,22 +19,22 @@ jobs:
1919 with :
2020 fetch-depth : 0
2121
22- - name : Package Source
23- run : |
24- ./setgitversion
25- mkdir source
26- cabal sdist
27- mv dist-newstyle/sdist/*.tar.gz source/source.tar.gz
28-
2922 - name : Deduce tags
3023 run : |
31- exec > source/tags
32- echo "latest"
24+ mkdir source
25+ echo "latest" > source/tags
3326 if tag=$(git describe --exact-match --tags)
3427 then
35- echo "stable"
36- echo "$tag"
28+ echo "stable" >> source/tags
29+ echo "$tag" >> source/tags
3730 fi
31+ cat source/tags
32+
33+ - name : Package Source
34+ run : |
35+ grep "stable" source/tags || ./setgitversion
36+ cabal sdist
37+ mv dist-newstyle/sdist/*.tar.gz source/source.tar.gz
3838
3939 - name : Upload artifact
4040 uses : actions/upload-artifact@v2
You can’t perform that action at this time.
0 commit comments