File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,14 @@ jobs:
4242
4343 - name : Publish Release
4444 if : ${{ env.DEFAULT_BRANCH == github.ref_name && github.event_name == 'push' && github.base_ref == '' }}
45- uses : " marvinpinto/action-automatic-releases@latest"
46- with :
47- repo_token : " ${{ secrets.PAT }}"
48- automatic_release_tag : " latest"
49- prerelease : true
50- title : " Development Build: ${{ env.DEFAULT_BRANCH }}"
51- files : /home/runner/work/_temp/_github_home/lkDist/discvr/DISCVR-*
45+ env :
46+ GH_TOKEN : " ${{ secrets.PAT }}"
47+ runs : |
48+ COUNT=`gh release list | grep 'latest' | wc -l`
49+ if [ $COUNT 1 == '0' ];then gh release delete 'latest' --cleanup-tag -y; fi
50+
51+ git tag "latest"
52+ git push -f origin "latest"
53+
54+ gh release create 'latest' --verify-tag --generate-notes --prerelease --title: "Development Build: ${{ env.DEFAULT_BRANCH }}"
55+ gh release upload 'latest' /home/runner/work/_temp/_github_home/lkDist/discvr/DISCVR-*
You can’t perform that action at this time.
0 commit comments