We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7c5a34 commit ba8df41Copy full SHA for ba8df41
.travis.yml
@@ -40,7 +40,7 @@ install:
40
script:
41
- |
42
PACKAGE_VERSION=$(node -p -e "require('./package.json').version")
43
- RELEASE_VERSION=$(curl --silent "https://api.github.com/repos/jupitex/node-libxml/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')
+ RELEASE_VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))
44
echo "Package version $PACKAGE_VERSION"
45
echo "Released version $RELEASE_VERSION"
46
if [ "$PACKAGE_VERSION" == "$RELEASE_VERSION" ]
0 commit comments