Skip to content

Commit

Permalink
chore: fix binary tags
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvprecisely committed Aug 11, 2021
1 parent d383223 commit 206f9c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
env:
TAG: ${{ github.event.release.tag_name }}
BUILD_TAG: ${{ steps.extract_tag.outputs.BUILD_TAG }}
S3_PATH: ${{ secrets.S3_PATH }}
run: if [ -n "$TAG" ]; then $GITHUB_WORKSPACE/scripts/push_to_aws.sh; fi

- name: Push Image
Expand All @@ -123,7 +124,7 @@ jobs:
if [ ! -z "$TAG" ]; then
SOLR_CURR_VERSION=${BUILD_TAG//v/};
echo "Deploying Maven artifacts for tagged build $SOLR_CURR_VERSION"
ant clean -Dversion=$SOLR_BASE_VERSION -Dm2.repository.id=github -Dm2.repository.url=https://maven.pkg.github.com/unbxd/artifacts generate-maven-artifacts
ant clean -Dversion=$SOLR_CURR_VERSION -Dm2.repository.id=github -Dm2.repository.url=https://maven.pkg.github.com/unbxd/artifacts generate-maven-artifacts
else
echo "Deploying Maven artifacts for non-tagged build(snapshots)"
ant clean -Dm2.repository.id=github -Dm2.repository.url=https://maven.pkg.github.com/unbxd/artifacts generate-maven-artifacts
Expand Down

0 comments on commit 206f9c7

Please sign in to comment.