Skip to content

Commit aee3197

Browse files
committed
Final automation of taging
1 parent fc9075d commit aee3197

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "highlightjs-structured-text",
3-
"version": "1.3.0",
3+
"version": "1.4.0",
44
"description": "highlight.js syntax definition for Structured Text IEC 61131-3 language",
55
"main": "src/iecst.js",
66
"scripts": {
7+
"postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags",
78
"test": "jasmine"
89
},
910
"files": [
@@ -14,7 +15,6 @@
1415
"type": "git",
1516
"url": "https://github.com/highlightjs/highlightjs-structured-text.git"
1617
},
17-
"postpublish" : "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags",
1818
"keywords": [
1919
"ST",
2020
"Structured Text",

0 commit comments

Comments
 (0)