Skip to content

Commit

Permalink
Fix registered version (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
nh13 authored Nov 13, 2023
1 parent 7deea49 commit e35d50b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ runs:
fi
latch register --yes ${args} 2>&1 | tee register.log
# save registered version; this may not occur if the above register fails
register_version=$(grep "Registering" register.log | tail -1 | cut -f 2 -d ' ' | cut -f 2 -d ':')
register_version=$(grep "Registering" register.log | tail -1 | awk '{print $NF}' | cut -f 2 -d ':')
echo "register-version=${register_version}" >> $GITHUB_OUTPUT
- id: after-latch-register
name: Post-process Latch Workflow Registration
Expand Down

0 comments on commit e35d50b

Please sign in to comment.