Skip to content

Commit

Permalink
build script changes
Browse files Browse the repository at this point in the history
  • Loading branch information
PratheepV committed Sep 10, 2022
1 parent cb17942 commit 811fe20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ROOT_FOLDER="$(
)"

sed -i '' -E "s/agent.version=[0-9]+.[0-9].+[0-9]+/agent.version=$DOCKER_VERSION/g" agent/src/main/resources/agent.properties
sed -i '' -E "s/currentAgentVersion = \"[0-9]+.[0-9].+[0-9]+\"/currentAgentVersion = $DOCKER_VERSION/g" server/src/main/java/com/testsigma/dto/AgentDTO.java
sed -i '' -E "s/currentAgentVersion = \"[0-9]+.[0-9].+[0-9]+\"/currentAgentVersion = \"$DOCKER_VERSION\"/g" server/src/main/java/com/testsigma/dto/AgentDTO.java

cd "$ROOT_FOLDER" || exit 1

Expand Down
2 changes: 1 addition & 1 deletion deploy/installer/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ cd "$ROOT_FOLDER"


sed -i '' -E "s/agent.version=[0-9]+.[0-9].+[0-9]+/agent.version=$VERSION/g" agent/src/main/resources/agent.properties
sed -i '' -E "s/currentAgentVersion = \"[0-9]+.[0-9].+[0-9]+\"/currentAgentVersion = $VERSION/g" server/src/main/java/com/testsigma/dto/AgentDTO.java
sed -i '' -E "s/currentAgentVersion = \"[0-9]+.[0-9].+[0-9]+\"/currentAgentVersion = \"$VERSION\"/g" server/src/main/java/com/testsigma/dto/AgentDTO.java


echo "Generating complete agent builds with web and mobile"
Expand Down

0 comments on commit 811fe20

Please sign in to comment.