Skip to content

Commit

Permalink
change how to tag
Browse files Browse the repository at this point in the history
  • Loading branch information
snmsts committed Sep 7, 2024
1 parent d14dd49 commit a324353
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
lisp: [sbcl-bin/2.0.0]
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@ VARIANT ?=
CLISP_LDFLAGS ?=
DOCKER_REPO ?= docker.pkg.github.com/roswell/sbcl_bin
PACK=clisp-$(VERSION)-$(CPU)-$(OS)$(VARIANT)
LAST_VERSION=`ros web.ros version`

LAST_VERSION=$(shell ros web.ros version)
hash:
git ls-remote --heads $(ORIGIN_URI) $(ORIGIN_REF) |sed -E "s/^([0-9a-fA-F]*).*/\1/" > hash

lasthash: web.ros
curl -sfSL -o lasthash $(GITHUB)/releases/download/$(LAST_VERSION)/hash
curl -sfSL -o lasthash $(GITHUB)/releases/download/files/hash || touch lasthash

latest-version: lasthash version
$(eval VERSION := $(shell cat version))
Expand All @@ -34,7 +33,8 @@ download: lasthash libsigsegv-$(SIGSEGV_VERSION).tar.gz libffcall-$(FFCALL_VERSI

upload-hash: hash web.ros
($(MAKE) lasthash && diff -u hash lasthash) || \
VERSION=$(VERSION) ros web.ros upload-hash
( VERSION=$(VERSION) ros web.ros upload-hash; \
VERSION=files ros web.ros upload-hash)

tsv: web.ros
TSV_FILE=$(TSV_FILE) ros web.ros tsv
Expand Down

0 comments on commit a324353

Please sign in to comment.