remove auto releases

This commit is contained in:
Chris Titus 2024-04-20 18:51:42 -05:00
parent fec5b68b10
commit ad080f267e

View File

@ -22,33 +22,3 @@ jobs:
with: with:
commit_message: Compile Winutil commit_message: Compile Winutil
if: success() if: success()
create-release:
needs: build-runspace
runs-on: windows-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- name: Prepare Release Date
run: |
$date = (Get-Date).AddDays(1).ToString('yyyy-MM-dd')
echo "CURRENT_DATE=$date" >> $GITHUB_ENV
shell: pwsh
- name: Set Git Config
run: |
git config --local user.email "contact@christitus.com"
git config --local user.name "Chris Titus"
- name: Create and Push Tag
run: |
git tag ${{ env.CURRENT_DATE }}
git push origin ${{ env.CURRENT_DATE }}
- name: Create Release and Upload Asset
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.CURRENT_DATE }}
name: Release ${{ env.CURRENT_DATE }}
draft: false
prerelease: false
files: ./winutil.ps1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}