mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-22 05:51:30 -06:00
remove auto releases
This commit is contained in:
parent
fec5b68b10
commit
ad080f267e
30
.github/workflows/release.yaml
vendored
30
.github/workflows/release.yaml
vendored
@ -22,33 +22,3 @@ jobs:
|
||||
with:
|
||||
commit_message: Compile Winutil
|
||||
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 }}
|
Loading…
Reference in New Issue
Block a user