File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1515 current_version=`gh release list --limit 1 | grep -oE "([0-9]+)\.([0-9]+)\.([0-9]+)" | head -1`
1616
1717 # Check if package_version > current_version:
18- ${{ github.workspace }}/semver.sh +x
1918 is_newer=`${{ github.workspace }}/semver.sh $package_version $current_version`
2019 [ $is_newer -ge 1 ] && gh release create v$package_version --generate-notes
2120
22- echo compare: ` dpkg --compare-versions $package_version gt $current_version`
21+ if $( dpkg --compare-versions $package_version "gt" $current_version); then echo true; fi
2322 env :
2423 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " actions-test" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.52 " ,
44 "description" : " " ,
55 "main" : " index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments