Replace env variable for x86_64_v2

This commit is contained in:
eabdullin 2025-03-07 11:41:37 +03:00
commit 785ee995e6

22
config.yaml Normal file
View File

@ -0,0 +1,22 @@
actions:
- replace:
- target: "spec"
find: |
%build
replace: |
%ifarch x86_64_v2
sed -i 's/^GOAMD64=v3$/GOAMD64=v2/' ./go.env
grep -q '^GOAMD64=v2$' ./go.env
%endif
%build
count: 1
- modify_release:
- suffix: ".alma.1"
enabled: true
- changelog_entry:
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
line:
- "Update env var for v2"