diff --git a/.gitea/workflows/release_windows.yaml b/.gitea/workflows/release_windows.yaml index 4289ee0..85f3c98 100644 --- a/.gitea/workflows/release_windows.yaml +++ b/.gitea/workflows/release_windows.yaml @@ -10,7 +10,7 @@ jobs: steps: - name: Clone repository run: | - $branch = "${{ github.ref }}" -replace '^refs/heads/', '' + $branch = "${{ github.ref }}" -replace '^refs/tags/', '' git clone --depth 1 --branch=$branch https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@amass.fun/gitea/${{ gitea.repository }}.git . git checkout ${{ github.sha }} - name: Build and deploy