Skip to content

Commit

Permalink
Merge pull request #37 from zapier/use-releases-not-tags
Browse files Browse the repository at this point in the history
use github releases, not git tags, to trigger
  • Loading branch information
djeebus authored Dec 9, 2022
2 parents 65d315f + a2fbee3 commit 0652947
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on_tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: release new version

on:
workflow_dispatch:
push:
tags: ['*']
release:
types: [published]

jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ release-binaries:
RUN apk add --no-cache git

ENV GH_TOKEN $token
RUN --push gh release create ${version} ./dist/*
RUN --push gh release upload ${version} ./dist/*

lint-golang:
FROM +go-deps
Expand Down

0 comments on commit 0652947

Please sign in to comment.