Skip to content

Commit

Permalink
Fix releasing deb artifact: fix package name when uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
anti-social committed Sep 5, 2022
1 parent a917e6b commit 7a84aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ jobs:
set -eux
ls -l
RELEASE_VERSION=$(echo $GITHUB_REF | sed 's/refs\/tags\/v\(.*\)/\1/')
echo "RELEASE_ARTIFACT_NAME=analysis-jmorphy2-$RELEASE_VERSION.zip" >> $GITHUB_ENV
echo "RELEASE_ARTIFACT_NAME=analysis-jmorphy2-${RELEASE_VERSION}.zip" >> $GITHUB_ENV
DEB_VERSION=$(echo $RELEASE_VERSION | tr - '~')
echo "DEB_ARTIFACT_NAME=elasticsearch-analysis-jmorphy2-plugin_{DEB_VERSION}_all.deb" >> $GITHUB_ENV
echo "DEB_ARTIFACT_NAME=elasticsearch-analysis-jmorphy2-plugin_${DEB_VERSION}_all.deb" >> $GITHUB_ENV
- name: Upload release
id: upload-release
Expand Down

0 comments on commit 7a84aea

Please sign in to comment.