This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from viniciusramosdefaria/fix/changelog
[FIX] changelog
- Loading branch information
Showing
6 changed files
with
34 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#!/bin/sh | ||
|
||
if expr "$VERSION" : 'qa-*' >/dev/null; then echo "ritchie-cli-bucket234376412767550" | ||
elif expr "$VERSION" : '^[0-9]\+' >/dev/null; then echo "ritchie-cli-bucket152849730126474" | ||
else echo "" | ||
fi | ||
if expr "$VERSION" : 'qa-*' >/dev/null; then | ||
echo "ritchie-cli-bucket234376412767550" | ||
elif expr "$VERSION" : '^[0-9]\+' >/dev/null; then | ||
echo "ritchie-cli-bucket152849730126474" | ||
else | ||
echo "" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#!/bin/sh | ||
|
||
if expr "$VERSION" : 'qa-*' >/dev/null; then echo "qa" | ||
elif expr "$VERSION" : '^[0-9]\+' >/dev/null; then echo "prod" | ||
else echo "" | ||
if expr "$VERSION" : 'qa-*' >/dev/null; then | ||
echo "qa" | ||
elif expr "$VERSION" : '^[0-9]\+' >/dev/null; then | ||
echo "prod" | ||
else | ||
echo "" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#!/bin/sh | ||
|
||
if expr "$VERSION" : 'qa-*' >/dev/null; then echo "https://ritchie-server.itiaws.dev" | ||
elif expr "$VERSION" : '^[0-9]\+' >/dev/null; then echo "https://ritchie-server.zup.io" | ||
else echo "" | ||
if expr "$VERSION" : 'qa-*' >/dev/null; then | ||
echo "https://ritchie-server.itiaws.dev" | ||
elif expr "$VERSION" : '^[0-9]\+' >/dev/null; then | ||
echo "https://ritchie-server.zup.io" | ||
else | ||
echo "" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
#!/bin/bash | ||
|
||
if expr "$CIRCLE_BRANCH" : 'qa' >/dev/null; then export RELEASE_VERSION="qa-${CIRCLE_BUILD_NUM}" | ||
elif expr "$CIRCLE_BRANCH" : '^release-.*' >/dev/null; then export RELEASE_VERSION=$(echo "$CIRCLE_BRANCH"| cut -d '-' -f 2-) | ||
else echo "" | ||
fi | ||
if expr "$CIRCLE_BRANCH" : 'qa' >/dev/null; then | ||
export RELEASE_VERSION="qa-${CIRCLE_BUILD_NUM}" | ||
elif expr "$CIRCLE_BRANCH" : 'fix/changelog' >/dev/null; then | ||
export RELEASE_VERSION="1.0.0.1" | ||
elif expr "$CIRCLE_BRANCH" : '^release-.*' >/dev/null; then | ||
export RELEASE_VERSION=$(echo "$CIRCLE_BRANCH" | cut -d '-' -f 2-) | ||
else | ||
echo "" | ||
fi |