Browse Source

Update Relx

Loïc Hoguin 7 years ago
parent
commit
1f39e84148
2 changed files with 15 additions and 1 deletions
  1. 14 0
      Makefile
  2. 1 1
      plugins/relx.mk

+ 14 - 0
Makefile

@@ -84,6 +84,20 @@ up:
 	cd gh-pages && git push origin gh-pages
 	cd gh-pages && git push origin gh-pages
 	rm -rf gh-pages
 	rm -rf gh-pages
 
 
+ifdef file
+up-relx:
+	git clone git@github.com:ninenines/erlang.mk.git gh-pages
+	cd gh-pages && git checkout gh-pages
+	cp $(file) gh-pages/res/
+	cd gh-pages && git add .
+	cd gh-pages && git commit -m "Publish new Relx version"
+	cd gh-pages && git push origin gh-pages
+	rm -rf gh-pages
+else
+up-relx:
+	@echo Missing parameter: url
+endif
+
 ifdef p
 ifdef p
 XDG_DATA_HOME ?= $(HOME)/.local/share
 XDG_DATA_HOME ?= $(HOME)/.local/share
 INSTALL_DIR ?= $(XDG_DATA_HOME)/erlang.mk/lib
 INSTALL_DIR ?= $(XDG_DATA_HOME)/erlang.mk/lib

+ 1 - 1
plugins/relx.mk

@@ -8,7 +8,7 @@
 RELX ?= $(ERLANG_MK_TMP)/relx
 RELX ?= $(ERLANG_MK_TMP)/relx
 RELX_CONFIG ?= $(CURDIR)/relx.config
 RELX_CONFIG ?= $(CURDIR)/relx.config
 
 
-RELX_URL ?= https://erlang.mk/res/relx-v3.24.5
+RELX_URL ?= https://erlang.mk/res/relx-v3.26.0
 RELX_OPTS ?=
 RELX_OPTS ?=
 RELX_OUTPUT_DIR ?= _rel
 RELX_OUTPUT_DIR ?= _rel
 RELX_REL_EXT ?=
 RELX_REL_EXT ?=