Skip to content

Commit

Permalink
release on tags only
Browse files Browse the repository at this point in the history
  • Loading branch information
mikea committed Jul 19, 2024
1 parent 98e7a76 commit 931a58d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,12 @@ jobs:
- name: Test
run: go test -v ./...

- name: Build Release Artifacts
run: just release $(git describe --tags)

- name: Archive Release Artifacts
uses: actions/upload-artifact@v4
with:
name: declix-artifacts.zip
path: dist/*

3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Release

on:
push:
branches: [ "master" ]
tags: ["*"]

jobs:
Expand All @@ -11,8 +10,6 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0


- name: Install dependecies
Expand Down

0 comments on commit 931a58d

Please sign in to comment.