Skip to content

Commit

Permalink
Revert changes to release process
Browse files Browse the repository at this point in the history
  • Loading branch information
tstirrat15 committed Oct 23, 2024
1 parent 1f35e7a commit 0e6ae63
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/release-windows.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
---
name: "Release for Windows"
on: # yamllint disable-line rule:truthy
#push:
#tags:
#- "*"
pull_request:
branches: ["*"]
push:
tags:
- "*"
permissions:
contents: "write"
packages: "write"
Expand All @@ -21,10 +19,6 @@ jobs:
id: "version"
with:
prefix: "v"
#- name: "Fail for an invalid version (windows)"
#if: "${{ !startsWith(github.ref_name, 'v') || steps.version.outputs.is_valid != 'true' }}"
#run: 'echo "SpiceDB version must start with `v` and be a semver" && exit 1'
#shell: "bash"
- uses: "authzed/actions/docker-login@main"
with:
quayio_token: "${{ secrets.QUAYIO_PASSWORD }}"
Expand All @@ -36,11 +30,8 @@ jobs:
# NOTE: keep in sync with goreleaser version in other job.
# github actions don't allow yaml anchors.
version: "v2.3.2"
args: "release --clean --skip=validate --config=.goreleaser.windows.yml"
args: "release --clean --config=.goreleaser.windows.yml"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GORELEASER_KEY: "${{ secrets.GORELEASER_KEY }}"
CHOCOLATEY_API_KEY: "${{ secrets.CHOCOLATEY_API_KEY }}"
# TODO: remove these
GORELEASER_CURRENT_TAG: "v1.37.1"
GORELEASER_PREVIOUS_TAG: "v1.37.0"

0 comments on commit 0e6ae63

Please sign in to comment.