summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorПавел Жуков <33721692+LeaveMyYard@users.noreply.github.com>2023-05-28 13:57:37 +0300
committerПавел Жуков <33721692+LeaveMyYard@users.noreply.github.com>2023-05-28 13:57:37 +0300
commitbc7f9b92ed5a51cdbea731de4450536822066eec (patch)
tree7f0e6ac11787bb5323727fae2f8cbfe63e6efbb3 /.github
parentbbe5d517b7406eaf50267fca53b85ce8987b7123 (diff)
Fix AWK for Unix missing = sign
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-on-release.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build-on-release.yml b/.github/workflows/build-on-release.yml
index 511847e..ba6a8d1 100644
--- a/.github/workflows/build-on-release.yml
+++ b/.github/workflows/build-on-release.yml
@@ -64,7 +64,7 @@ jobs:
- name: Set version in code (Unix)
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
run: |
- awk 'NR==3{$0="__version__\"'${{ github.ref_name }}'\""}1' ./robusta_krr/__init__.py > temp && mv temp ./robusta_krr/__init__.py
+ awk 'NR==3{$0="__version__ = \"'${{ github.ref_name }}'\""}1' ./robusta_krr/__init__.py > temp && mv temp ./robusta_krr/__init__.py
cat ./robusta_krr/__init__.py
- name: Set version in code (Windows)