Skip to content

Commit

Permalink
changing of current version
Browse files Browse the repository at this point in the history
  • Loading branch information
djarecka committed Jun 19, 2024
1 parent 593ed6c commit 9abc8e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/push_reproschema_py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Make changes to target repository
id: changes
run: |
LAST_VERSION=$(ls -lt releases/ | grep ^d | head -1 | awk '{print $9}')
LAST_VERSION=$(find . -mindepth 1 -maxdepth 1 -type d -exec stat -c '%Y %n' {} + | sort -n | tail -1 | cut -d' ' -f2-)
echo "::set-output name=last_version::$LAST_VERSION"
echo "Last Version"
echo $LAST_VERSION
Expand Down

0 comments on commit 9abc8e6

Please sign in to comment.