Skip to content

Commit

Permalink
combined release and tag to single workflow (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Pickett authored Jan 17, 2022
1 parent 015413f commit 1eb8fcb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,24 @@ jobs:
- name: Test
run: sudo go test -v -cover ./...

- name: Bump version and push tag
- id: bump
name: Bump version and push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
RELEASE_BRANCHES: main

- name: build and package
run: bash ./package_release.sh

- uses: "marvinpinto/[email protected]"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
title: ${{ steps.bump.outputs.new_tag }}
files: |
LICENSE
./artifacts/*.zip
./artifacts/*.tar.gz
49 changes: 0 additions & 49 deletions .github/workflows/tagged-release.yml

This file was deleted.

File renamed without changes.

0 comments on commit 1eb8fcb

Please sign in to comment.