Skip to content

Commit

Permalink
/.github/workflows/cd-release.yaml: fix sed command for server version
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeegoddd committed Jun 11, 2024
1 parent e255e50 commit 538012f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
working-directory: ./postgres/parser
shell: bash
- name: Update Doltgres version command
run: sed -i -e 's/ Version = ".*"/ Version = "'"$NEW_VERSION"'"/' "$FILE"
run: sed -i -e 's/Version\s*=\s*".*"/Version = "'"$NEW_VERSION"'"/' "$FILE"
env:
FILE: ${{ format('{0}/server/server.go', github.workspace) }}
NEW_VERSION: ${{ needs.format-version.outputs.version }}
Expand Down

0 comments on commit 538012f

Please sign in to comment.