From a324353c1c0546a63d6954d403fa4a9fc2db7053 Mon Sep 17 00:00:00 2001 From: snmsts Date: Sun, 8 Sep 2024 02:56:40 +0900 Subject: [PATCH] change how to tag --- .github/workflows/tag.yml | 2 +- Makefile | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index e62fb2f..6b59de4 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: lisp: [sbcl-bin/2.0.0] diff --git a/Makefile b/Makefile index 7e3e2b8..d42e144 100644 --- a/Makefile +++ b/Makefile @@ -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)) @@ -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