Skip to content

Commit 61040bd

Browse files
committed
feat: only release from the release branch
1 parent 2d3a9f5 commit 61040bd

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.circleci/config.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
- run: make build
1414
- run:
1515
command: |
16-
if [[ -n "$CIRCLE_TAG" ]]; then
17-
export VERSION="$CIRCLE_TAG"
18-
fi
16+
if [ "${CIRCLE_BRANCH}" == "release" ]; then
1917
make release
18+
fi

.env

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# I am a comment and that is OK
2+
SOME_VAR=someval
3+
FOO=BAR # comments at line end are OK too
4+
export BAR=BAZ

Makefile

+1-9
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,7 @@ deps:
3030
docker-image:
3131
docker build -q -f Dockerfile.build -t $(IMAGE_NAME):$(BUILD_TAG) .
3232

33-
ifdef CIRCLE_TAG
34-
release: make-release
35-
else
36-
release:
37-
@echo "No release necessary"
38-
endif
39-
40-
41-
make-release: build
33+
release: build
4234
rm -rf release && mkdir release
4335
tar -zcf release/$(NAME)_$(VERSION)_linux_$(HARDWARE).tgz -C build/linux $(NAME)
4436
tar -zcf release/$(NAME)_$(VERSION)_darwin_$(HARDWARE).tgz -C build/darwin $(NAME)

Procfile

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<<<<<<< HEAD=0
2+
web: python -p $PORT server
3+
======
4+
worker: python work.py --derp $PS
5+
>>>>>>> 5bb7ec3e2a8f4f6565432a4fc82c92d4a3603d28=0

0 commit comments

Comments
 (0)