diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 58029a8b..7ee8ff8d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 }} \ No newline at end of file + if: success() \ No newline at end of file