Skip to content

Commit

Permalink
work on alpha release
Browse files Browse the repository at this point in the history
  • Loading branch information
marccampbell committed Jan 17, 2020
1 parent df8e9cf commit 51d0917
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/alpha-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Alpha release"
on:
push:
branches:
- master
- github-actions

jobs:
build:
Expand Down Expand Up @@ -96,6 +96,6 @@ jobs:
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: release --rm-dist
args: release --rm-dist --snapshot --config deploy/.goreleaser.snapshot.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "Build and test"
on: [push]
on:
push:
branches-ignore: [master] # master branch runs alpha-release workflow
tags-ignore: ["*"] # tags run tagged-release workflow

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tagged-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ jobs:
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: release --rm-dist
args: release --rm-dist --config deploy/.goreleaser.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 51d0917

Please sign in to comment.