mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-13 22:25:51 -06:00
remove auto releases
This commit is contained in:
parent
fec5b68b10
commit
ad080f267e
32
.github/workflows/release.yaml
vendored
32
.github/workflows/release.yaml
vendored
@ -21,34 +21,4 @@ jobs:
|
||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||
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 }}
|
||||
if: success()
|
Loading…
Reference in New Issue
Block a user