loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

use Actions environment variables in Makefile (#25319)

authored by

techknowlogick and committed by
GitHub
ccc19eda 3ee89704

+5 -5
+5 -5
Makefile
··· 79 79 STORED_VERSION_FILE := VERSION 80 80 HUGO_VERSION ?= 0.111.3 81 81 82 - ifneq ($(DRONE_TAG),) 83 - VERSION ?= $(subst v,,$(DRONE_TAG)) 84 - GITEA_VERSION ?= $(VERSION) 82 + ifneq ($(GITHUB_REF_TYPE),branch) 83 + VERSION ?= $(subst v,,$(GITHUB_REF_NAME)) 84 + GITEA_VERSION ?= $(GITHUB_REF_NAME) 85 85 else 86 - ifneq ($(DRONE_BRANCH),) 87 - VERSION ?= $(subst release/v,,$(DRONE_BRANCH)) 86 + ifneq ($(GITHUB_REF_NAME),) 87 + VERSION ?= $(subst release/v,,$(GITHUB_REF_NAME)) 88 88 else 89 89 VERSION ?= main 90 90 endif