Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #226 from ernelio/fix/qa
Browse files Browse the repository at this point in the history
[fix] Fix stable qa
  • Loading branch information
ernelio authored Jun 30, 2020
2 parents bb3034a + 20008c0 commit c057536
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RITCHIE_ENV=$(shell VERSION=$(VERSION) ./.circleci/scripts/ritchie_env.sh)
COMMONS_REPO_URL=https://commons-repo.ritchiecli.io/tree/tree.json
IS_RELEASE=$(shell echo $(VERSION) | egrep "^[0-9.]+-beta.[0-9]+")
IS_BETA=$(shell echo $(VERSION) | egrep "*.pre.*")
IS_QA=$(shell echo $(VERSION) | egrep "*qa.*")
IS_NIGHTLY=$(shell echo $(VERSION) | egrep "*.nightly.*")
GONNA_RELEASE=$(shell ./.circleci/scripts/gonna_release.sh)
NEXT_VERSION=$(shell ./.circleci/scripts/next_version.sh)
Expand Down Expand Up @@ -71,6 +72,10 @@ ifneq "$(IS_RELEASE)" ""
echo -n "$(RELEASE_VERSION)" > stable.txt
aws s3 sync . s3://$(BUCKET)/ --exclude "*" --include "stable.txt"
endif
ifneq "$(IS_QA)" ""
echo -n "$(RELEASE_VERSION)" > stable.txt
aws s3 sync . s3://$(BUCKET)/ --exclude "*" --include "stable.txt"
endif
else
echo "NOT GONNA PUBLISH"
endif
Expand Down Expand Up @@ -105,6 +110,10 @@ ifneq "$(IS_RELEASE)" ""
echo -n "$(RELEASE_VERSION)" > stable.txt
aws s3 sync . s3://$(BUCKET)/ --exclude "*" --include "stable.txt"
endif
ifneq "$(IS_QA)" ""
echo -n "$(RELEASE_VERSION)" > stable.txt
aws s3 sync . s3://$(BUCKET)/ --exclude "*" --include "stable.txt"
endif
else
echo "NOT GONNA PUBLISH"
endif
Expand Down

0 comments on commit c057536

Please sign in to comment.