Skip to content

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Dec 12, 2019
1 parent 5fdd3e7 commit a0045b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
VERSION=`echo "${GITHUB_REF}" | cut -f 3 -d "/" | cut -f 1 -d "-"`
LAST_PACKAGE_VERSION=`pip search boto3-stubs | grep -Po '^boto3\-stubs \S+' | grep -Po '\d+\.\d+\.\d+(\.\d+)?'`
PACKAGE_VERSION=`echo "${LAST_PACKAGE_VERSION}" | awk 'BEGIN{FS=OFS="."}{$4=$4+1; print $0;}'`
BOTO3_VERSION = `echo "${PACKAGE_VERSION}" | awk 'BEGIN{FS=OFS="."}{print$1, $2, $3;}'`
BOTOCORE_VERSION = `echo "${BOTO3_VERSION}" | awk 'BEGIN{FS=OFS="."}{print$1, "13", $3;}'`
BOTO3_VERSION=`echo "${PACKAGE_VERSION}" | awk 'BEGIN{FS=OFS="."}{print$1, $2, $3;}'`
BOTOCORE_VERSION=`echo "${BOTO3_VERSION}" | awk 'BEGIN{FS=OFS="."}{print$1, "13", $3;}'`
echo Builder version: ${VERSION}
echo Last package version: ${LAST_PACKAGE_VERSION}
Expand Down

0 comments on commit a0045b7

Please sign in to comment.