Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jamshale committed Apr 15, 2024
1 parent 6545caf commit 092c97d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,10 @@ jobs:
echo "Remote version = $current_available_version"
current_global_version="${{steps.current_global_version.outputs.current_global_version}}"
echo "Global version = $current_global_version"
version () {
sem_version () {
echo "$@" | awk -F. '{ printf("%d%03d%03d%03d\n", $1,$2,$3,$4); }';
}
version $current_available_version
if [ $(version $current_global_version) -ge $(version $current_available_version) ]; then
if [ $(sem_version $current_global_version) -ge $(sem_version $current_available_version) ]; then
echo "Version of aries-cloudagent is up to date"
available=false
exit 1
Expand All @@ -65,7 +64,7 @@ jobs:
- name: Update global acapy version
run: |
cd .. && python repo_manager.py 3
cd .. && python repo_manager.py 2
echo "Update global acapy version"
- name: Run global updates
run: |
Expand Down

0 comments on commit 092c97d

Please sign in to comment.