Skip to content

Commit

Permalink
Merge pull request #53 from fyne-io/correct-ci-on-master
Browse files Browse the repository at this point in the history
Get correct version when building on master
  • Loading branch information
Bluebugs authored Jul 16, 2024
2 parents 96b9ae9 + 5f12a3a commit 1b8073b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ jobs:
${{ matrix.target.os }} \
${{ matrix.target.args }} \
-debug -no-cache \
-image docker.io/fyneio/fyne-cross-images:dev-${{ matrix.target.os }}${{ matrix.target.arch }} \
-image docker.io/fyneio/fyne-cross-images:`cd ../fyne-cross-images && make version`-${{ matrix.target.os }}${{ matrix.target.arch }} \
-name calculator${{ matrix.target.ext }}
3 changes: 3 additions & 0 deletions Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
VERSION := $(shell git tag --points-at HEAD | awk -v def="dev" '{print} END { if(NR==0) {print def} }')
# REPOSITORY is the docker repository
REPOSITORY := docker.io/fyneio/fyne-cross-images

version:
@echo $(VERSION)

0 comments on commit 1b8073b

Please sign in to comment.