Skip to content

Commit

Permalink
ci(stream): test change s3stream version
Browse files Browse the repository at this point in the history
Signed-off-by: SSpirits <[email protected]>
  • Loading branch information
ShadowySpirits committed Jan 3, 2024
1 parent 5f63f6b commit 7944f23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/s3-stream-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
export S3STREAM_VERSION=$(cat s3stream/target/maven-archiver/pom.properties | grep version | awk -F '=' '{print $2}')
echo "change s3stream version of e2e test to $S3STREAM_VERSION"
sed -i "s/<s3stream.version>.*<\/s3stream.version>/<s3stream.version>$S3STREAM_VERSION<\/s3stream.version>/g" s3stream-e2e/pom.xml
export LINE_START=$(grep -n '<repositories>' pom.xml | awk -F ':' '{print $1}')
export LINE_END=$(grep -n '</repositories>' pom.xml | awk -F ':' '{print $1}')
export LINE_START=$(awk '/<repositories>/{print NR}' s3stream-e2e/pom.xml)
export LINE_END=$(awk '/<\/repositories>/{print NR}' s3stream-e2e/pom.xml)
sed -i "${LINE_START},${LINE_END}d" s3stream-e2e/pom.xml
cat s3stream-e2e/pom.xml
- name: Run tests
Expand Down

0 comments on commit 7944f23

Please sign in to comment.