Skip to content

Commit

Permalink
Merge pull request #14 from uelei/version_change
Browse files Browse the repository at this point in the history
remove v from version on github
  • Loading branch information
uelei authored Sep 18, 2024
2 parents 590a927 + 7b9521d commit 0ce0e92
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
scheme: semver
increment: patch
outputs:
current-version: v${{ steps.version.outputs.version }}
current-version: ${{ steps.version.outputs.version }}
build:
needs: version
## We want to define a strategy for our job
Expand Down Expand Up @@ -49,23 +49,23 @@ jobs:

- name: Build Windows
if: matrix.platform == 'windows-latest'
run: go build -v -o dist/brl-rate-get-${{ matrix.platform }}_${{ needs.version.outputs.current-version }}.exe .
run: go build -v -o dist/brl-rate-get-${{ matrix.platform }}_v${{ needs.version.outputs.current-version }}.exe .
- name: Build
if: matrix.platform != 'windows-latest'
run: go build -v -o dist/brl-rate-get-${{ matrix.platform }}_${{ needs.version.outputs.current-version }} .
run: go build -v -o dist/brl-rate-get-${{ matrix.platform }}_v${{ needs.version.outputs.current-version }} .

- name: Upload Artifact Windows
if: matrix.platform == 'windows-latest'
uses: actions/upload-artifact@v4
with:
name: brl-rate-get-${{ matrix.platform }}_${{ needs.version.outputs.current-version }}.exe
path: dist/brl-rate-get-${{ matrix.platform }}_${{ needs.version.outputs.current-version }}.exe
name: brl-rate-get-${{ matrix.platform }}_v${{ needs.version.outputs.current-version }}.exe
path: dist/brl-rate-get-${{ matrix.platform }}_v${{ needs.version.outputs.current-version }}.exe
- name: Upload Artifact
if: matrix.platform != 'windows-latest'
uses: actions/upload-artifact@v4
with:
name: brl-rate-get-${{ matrix.platform }}_${{ needs.version.outputs.current-version }}
path: dist/brl-rate-get-${{ matrix.platform }}_${{ needs.version.outputs.current-version }}
name: brl-rate-get-${{ matrix.platform }}_v${{ needs.version.outputs.current-version }}
path: dist/brl-rate-get-${{ matrix.platform }}_v${{ needs.version.outputs.current-version }}
release:
runs-on: ubuntu-latest
needs:
Expand All @@ -85,17 +85,17 @@ jobs:
- name: Download Artifact windows-latest
uses: actions/download-artifact@v4
with:
name: brl-rate-get-windows-latest_${{ needs.version.outputs.current-version }}.exe
name: brl-rate-get-windows-latest_v${{ needs.version.outputs.current-version }}.exe
path: dist
- name: Download Artifact macos-latest
uses: actions/download-artifact@v4
with:
name: brl-rate-get-macos-latest_${{ needs.version.outputs.current-version }}
name: brl-rate-get-macos-latest_v${{ needs.version.outputs.current-version }}
path: dist
- name: Download Artifact ubuntu-latest
uses: actions/download-artifact@v4
with:
name: brl-rate-get-ubuntu-latest_${{ needs.version.outputs.current-version }}
name: brl-rate-get-ubuntu-latest_v${{ needs.version.outputs.current-version }}
path: dist
- name: Upload Assets to Release with a wildcard
uses: csexton/release-asset-action@v2
Expand Down

0 comments on commit 0ce0e92

Please sign in to comment.