Skip to content

Commit

Permalink
App version setting in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramtamtam committed Dec 28, 2020
1 parent 16223d4 commit ddaa902
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.arch }}
CGO_ENABLED: 0
LDFLAGS: -s -w -X tinifier/internal/pkg/version.version=${{ steps.values.outputs.version }}
LDFLAGS: -s -w -X github.com/tarampampam/tinifier/v3/internal/pkg/version.version=${{ steps.values.outputs.version }}
run: go build -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" ./cmd/tinifier/main.go

- name: Upload artifact
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.arch }}
CGO_ENABLED: 0
LDFLAGS: -s -w -X tinifier/internal/pkg/version.version=${{ steps.version.outputs.value }}
LDFLAGS: -s -w -X github.com/tarampampam/tinifier/v3/internal/pkg/version.version=${{ steps.version.outputs.value }}
run: go build -trimpath -ldflags "$LDFLAGS" -o /tmp/tinifier ./cmd/tinifier/main.go

- name: Try to execute
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].

## v3.0.1

### Fixed

- Application version setting in CI

## v3.0.0

### Added
Expand Down

0 comments on commit ddaa902

Please sign in to comment.