Skip to content

Commit

Permalink
Merge pull request #11 from ObolNetwork/fix_dispatch_trigger
Browse files Browse the repository at this point in the history
fix dispatch trigger
  • Loading branch information
apham0001 authored Nov 4, 2024
2 parents ea7f2e3 + f155847 commit 01d4ff5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dispatch-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:

- name: Update version in Ansible configuration
run: |
TAG_NAME="${{ env.TAG_NAME#v }}"
TAG_NAME="$(echo "${TAG_NAME}" | sed 's/^v//')"
sed -i -E "s/^node_image_version: 'v\.?[0-9]+\.[0-9]+\.[0-9]+[a-zA-Z0-9\-]*'/node_image_version: 'v${TAG_NAME}'/" group_vars/all.yml
# Commit and push changes
Expand Down

0 comments on commit 01d4ff5

Please sign in to comment.