mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-26 04:36:35 +00:00
chore: add a publish-all make target (#1666)
The CI servers currently call `installers-all` to deploy snapshot builds, however that target builds the installers, but doesn't call the phony rules that actually publishes them. Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This commit is contained in:
parent
de63d534c5
commit
4827267af6
6
Makefile
6
Makefile
@ -387,6 +387,7 @@ TARGETS = \
|
|||||||
package-cli \
|
package-cli \
|
||||||
cli-develop \
|
cli-develop \
|
||||||
installers-all \
|
installers-all \
|
||||||
|
publish-all \
|
||||||
electron-develop
|
electron-develop
|
||||||
|
|
||||||
changelog:
|
changelog:
|
||||||
@ -464,6 +465,7 @@ ifeq ($(RELEASE_TYPE),snapshot)
|
|||||||
-k $(shell date +"%Y-%m-%d")))
|
-k $(shell date +"%Y-%m-%d")))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
PUBLISHABLES += publish-aws-s3
|
||||||
TARGETS += publish-aws-s3
|
TARGETS += publish-aws-s3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -478,6 +480,7 @@ publish-bintray-debian: $(PUBLISH_BINTRAY_DEBIAN)
|
|||||||
-p $(BINTRAY_REPOSITORY_DEBIAN) \
|
-p $(BINTRAY_REPOSITORY_DEBIAN) \
|
||||||
-c $(BINTRAY_COMPONENT)))
|
-c $(BINTRAY_COMPONENT)))
|
||||||
|
|
||||||
|
PUBLISHABLES += publish-bintray-debian
|
||||||
TARGETS += publish-bintray-debian
|
TARGETS += publish-bintray-debian
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -492,9 +495,12 @@ publish-bintray-redhat: $(PUBLISH_BINTRAY_REDHAT)
|
|||||||
-p $(BINTRAY_REPOSITORY_REDHAT) \
|
-p $(BINTRAY_REPOSITORY_REDHAT) \
|
||||||
-c $(BINTRAY_COMPONENT)))
|
-c $(BINTRAY_COMPONENT)))
|
||||||
|
|
||||||
|
PUBLISHABLES += publish-bintray-redhat
|
||||||
TARGETS += publish-bintray-redhat
|
TARGETS += publish-bintray-redhat
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
publish-all: $(PUBLISHABLES)
|
||||||
|
|
||||||
.PHONY: $(TARGETS)
|
.PHONY: $(TARGETS)
|
||||||
|
|
||||||
cli-develop:
|
cli-develop:
|
||||||
|
@ -48,8 +48,8 @@ if [ "$ARGV_OPERATING_SYSTEM" == "linux" ]; then
|
|||||||
./scripts/build/docker/run-command.sh \
|
./scripts/build/docker/run-command.sh \
|
||||||
-r "$ARGV_ARCHITECTURE" \
|
-r "$ARGV_ARCHITECTURE" \
|
||||||
-s "$(pwd)" \
|
-s "$(pwd)" \
|
||||||
-c "make installers-all"
|
-c "make publish-all"
|
||||||
else
|
else
|
||||||
./scripts/build/check-dependency.sh make
|
./scripts/build/check-dependency.sh make
|
||||||
make installers-all
|
make publish-all
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user