From cdbb01fc849b40db451a89854847c8d0dd113338 Mon Sep 17 00:00:00 2001 From: Istvan Kispal Date: Fri, 24 Jan 2025 15:11:45 +0100 Subject: [PATCH 1/2] Prevent creating "main" tag and release on Github --- .github/workflows/porchctl-dev-release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/porchctl-dev-release.yaml b/.github/workflows/porchctl-dev-release.yaml index 549869a9..24aafbc1 100644 --- a/.github/workflows/porchctl-dev-release.yaml +++ b/.github/workflows/porchctl-dev-release.yaml @@ -30,7 +30,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '>=1.22.2' + go-version: ">=1.22.2" - name: Checkout uses: actions/checkout@v4 with: @@ -45,9 +45,8 @@ jobs: repo_token: ${{ secrets.GITHUB_TOKEN }} file: porchctl.tgz asset_name: porchctl.tgz - tag: ${{ github.ref }} + tag: dev overwrite: true prerelease: true release_name: Porchctl build from main body: "This is dev porchctl binary built from main each merge" - From df106cefc28d41f93c2a3524557d28ae32d61e9b Mon Sep 17 00:00:00 2001 From: Istvan Kispal Date: Fri, 24 Jan 2025 15:20:31 +0100 Subject: [PATCH 2/2] Enable manual run of porchctl-dev-release --- .github/workflows/porchctl-dev-release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porchctl-dev-release.yaml b/.github/workflows/porchctl-dev-release.yaml index 24aafbc1..bab4c4fe 100644 --- a/.github/workflows/porchctl-dev-release.yaml +++ b/.github/workflows/porchctl-dev-release.yaml @@ -19,6 +19,7 @@ on: push: branches: - main + workflow_dispatch: jobs: build: