Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
General-Beck committed May 4, 2018
1 parent a9416be commit 95799dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ publish:snap:
variables:
BUILD_ARCH: amd64
before_script:
- export VERSION=$(node -p "require('./package.json').version")&&echo "Version:" $VERSION
- export VERSION=$(grep -m 1 "version" package.json | awk '{print $2}' | tr -d '",' | tr -d "\n")&&echo "Version:" $VERSION
script:
- scripts/publish-snap.sh
tags:
Expand Down

0 comments on commit 95799dc

Please sign in to comment.