Compare commits

..

No commits in common. "master" and "v1.0.0" have entirely different histories.

5 changed files with 5 additions and 34 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
*.DS_Store
*.zip
*.sha1
*.swp

View File

@ -1,17 +0,0 @@
pipeline:
build:
image: alpine:3.13
commands:
- apk add zip make
- make
publish:
image: plugins/gitea-release
settings:
api_key:
from_secret: GITEA_KEY
base_url: https://gitea.malloc.hackerbots.net/
files:
- ./*.zip
- ./*.sha1
when:
event: tag

View File

@ -1,14 +1,9 @@
.PHONY: all
BUILD_VERSION:=$(shell git describe --tags)
all: malloc-data-1.0.zip malloc-data-1.0.zip.sha1
all: malloc-data-$(BUILD_VERSION).zip malloc-data-$(BUILD_VERSION).zip.sha1
malloc-data-1.0.zip: pack.mcmeta
zip -r malloc-data-1.0.zip pack.mcmeta data
pack.mcmeta: pack.mcmeta.in
sed -e 's/@VERSION@/$(BUILD_VERSION)/g' $< > $@
malloc-data-$(BUILD_VERSION).zip: pack.mcmeta
zip -r $@ pack.mcmeta data
malloc-data-$(BUILD_VERSION).zip.sha1: malloc-data-$(BUILD_VERSION).zip
malloc-data-1.0.zip.sha1: malloc-data-1.0.zip
sha1sum $< > $@

View File

@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 10,
"description": "Malloc Minecraft Item Functions (v1.0.0-1-gf988858)"
"description": "Malloc Minecraft Item Functions (1.0.0)"
}
}

View File

@ -1,6 +0,0 @@
{
"pack": {
"pack_format": 10,
"description": "Malloc Minecraft Item Functions (@VERSION@)"
}
}