Skip to content

Commit

Permalink
Merge pull request #221 from ant-media/burak-58-patch-1
Browse files Browse the repository at this point in the history
Update new_release.yml
  • Loading branch information
burak-58 authored Feb 2, 2024
2 parents b773ed3 + c834227 commit 3ce73d9
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 @@ -20,9 +20,9 @@ jobs:

- name: Download war File
run: |
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"
VERSION=${{ github.ref_name }}
export VERSION=${VERSION:1}
wget -O ConferenceCall-${{ github.ref_name }}.war "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=io.antmedia.webrtc&a=ConferenceCall&v=${VERSION}&e=war"
ls -al
- name: Create Release
Expand Down

0 comments on commit 3ce73d9

Please sign in to comment.