Skip to content

Commit

Permalink
Merge pull request #211 from ant-media/fixTagScript
Browse files Browse the repository at this point in the history
fix the version dependancy in tag script
  • Loading branch information
mustafaboleken authored Jan 25, 2024
2 parents ac8c896 + 255b5fb commit 989ff4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/new_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

- name: Download war File
run: |
mvn dependency:get -Dartifact=io.antmedia.webrtc:ConferenceCall:2.6.0-SNAPSHOT:war -DremoteRepositories=https://oss.sonatype.org/content/repositories/snapshots -quiet
cp ~/.m2/repository/io/antmedia/webrtc/ConferenceCall/2.6.0-SNAPSHOT/ConferenceCall*-SNAPSHOT.war ConferenceCall-${{ github.ref_name }}.war
export LATEST_SNAPSHOT=$(cat maven-metadata.xml | grep "<version>" | tail -n 1 | xargs | cut -c 10-23)
echo $LATEST_SNAPSHOT
wget -O ConferenceCall-${{ github.ref_name }}.war "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=io.antmedia.webrtc&a=ConferenceCall&v=${LATEST_SNAPSHOT}&e=war"
ls -al
pwd
- name: Create Release
id: create_release
Expand Down

0 comments on commit 989ff4b

Please sign in to comment.