Skip to content

Commit

Permalink
workflow: fix version string to follow VERSION-NB
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Nov 11, 2023
1 parent 70e62c4 commit eb9582f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Configure version
run: echo "VERSION=$(cat VERSION).$(($RELEASE_START+$GITHUB_RUN_NUMBER))" >> $GITHUB_ENV
run: echo "VERSION=$(cat VERSION)-$(($RELEASE_START+$GITHUB_RUN_NUMBER))" >> $GITHUB_ENV
- name: Cleanup old packages
run: rm -f *.tar.xz
- name: Install keyring
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ targets:
"$(word 1,$(subst -, , $@))-$(word 2,$(subst -, , $@))-$(word 3,$(subst -, , $@))" \
"$(word 1,$(subst -, , $@))" \
"$(word 2,$(subst -, , $@))" \
"$(word 5,$(subst -, , $(basename $@)))"
"$(lastword $(subst -, , $(basename $@)))"

$(foreach arch,$(ARCHS),$(addsuffix -$(arch), $(VARIANTS)): %-$(arch): %-$(VERSION)-$(arch).tar.xz)

0 comments on commit eb9582f

Please sign in to comment.