Skip to content

Commit

Permalink
[INFRA] bump version - 0.5.0
Browse files Browse the repository at this point in the history
- vanilla ts project
- updated bash script
  • Loading branch information
aibcmars authored Oct 20, 2020
1 parent f2faeba commit f6802ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
},
"dependencies": {
"mxgraph": "4.1.0",
"bpmn-visualization": "0.4.0"
"bpmn-visualization": "0.5.0"
}
}
2 changes: 2 additions & 0 deletions scripts/update-lib-version.bash
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ echo "Search for files in $(pwd)"
if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i '' -E "s/\/demo\/[0-9].[0-9].[0-9]/\/demo\/$NEW_VERSION/#" **/*.{html,md,js} *.{html,js}
sed -i '' -E "s/\/bpmn-visualization@[0-9].[0-9].[0-9]/\/bpmn-visualization@$NEW_VERSION/#" **/*.{html,md,js} *.{html,js}
sed -i '' -E "s/\"bpmn-visualization\": \"[0-9].[0-9].[0-9]\"/\"bpmn-visualization\": \"$NEW_VERSION\"/#" **/**/package.json
else
sed -i -E "s/\/demo\/[0-9].[0-9].[0-9]/\/demo\/$NEW_VERSION/#" **/*.{html,md,js} *.{html,js}
sed -i -E "s/\/bpmn-visualization@[0-9].[0-9].[0-9]/\/bpmn-visualization@$NEW_VERSION/#" **/*.{html,md,js} *.{html,js}
sed -i -E "s/\"bpmn-visualization\": \"[0-9].[0-9].[0-9]\"/\"bpmn-visualization\": \"$NEW_VERSION\"/#" **/**/package.json
fi

echo "Files updated"
Expand Down

0 comments on commit f6802ae

Please sign in to comment.