From e32ddefbe334641b5afdf9d0bddf846368377771 Mon Sep 17 00:00:00 2001 From: Mohit Kumar Sharma Date: Wed, 27 May 2020 10:13:42 +0530 Subject: [PATCH] Fixed pipeline --- .github/workflows/release.yml | 24 +++++++++++++++++++++++- CHANGELOG.md | 4 ++++ cmd/root.go | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15b0e6e..38fa447 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,29 @@ on: jobs: goreleaser: - runs-on: [ubuntu-latest, windows-latest] + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Unshallow + run: git fetch --prune --unshallow + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.14 + + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v2 + with: + version: latest + args: release --rm-dist --release-notes CHANGELOG.md + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + goreleaser-windows: + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e5f445..c8f7a2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# v0.1.1 (May 27, 2020) + +* Fixed coloring issue with windows platform + # v0.1.0 (May 26, 2020) * Initial release diff --git a/cmd/root.go b/cmd/root.go index 4dd06d5..5a2e032 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -49,7 +49,7 @@ var ( Short: "Proffer is a cross platform tool to distribute cloud images between multiple regions and environments using yml configuration file.", Long: profferLong, Example: profferExamples, - Version: "0.1.0", + Version: "0.1.1", // Uncomment the following line if your bare application // has an action associated with it: // Run: func(cmd *cobra.Command, args []string) { },