Skip to content

Commit

Permalink
fix: rpm installation path
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryTravyan committed Jun 1, 2022
1 parent 76045d6 commit 0d93189
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,4 @@ jobs:
[genin-${{ env.VERSION }}-1.el8.x86_64.rpm](${{ env.YUM_REGISTRY }}/el/8/x86_64/os/genin-${{ env.VERSION }}-1.el8.x86_64.rpm)
### Debian x86_64
[genin-${{ env.VERSION }}.amd64.deb](${{ env.APT_REGISTRY }}/genin/deb/genin-${{ env.VERSION }}.amd64.deb)
[genin-${{ env.VERSION }}.amd64.deb](${{ env.RAW_REGISTRY }}/genin/deb/genin-${{ env.VERSION }}.amd64.deb)
2 changes: 1 addition & 1 deletion build/el7/genin.x86_64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rm -rf $RPM_BUILD_ROOT
%install
mkdir -p $RPM_BUILD_ROOT/bin ~/bin
mv $GITHUB_WORKSPACE/x86_64-unknown-linux-musl/genin $RPM_BUILD_ROOT/bin/genin
install -m 0755 $RPM_BUILD_ROOT/bin/%{name} ~/bin/%{name}
install -m 0755 $RPM_BUILD_ROOT/bin/%{name} /usr/local/bin/%{name}

%files
/bin/%{name}
2 changes: 1 addition & 1 deletion build/el8/genin.x86_64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rm -rf $RPM_BUILD_ROOT
%install
mkdir -p $RPM_BUILD_ROOT/bin ~/bin
mv $GITHUB_WORKSPACE/x86_64-unknown-linux-musl/genin $RPM_BUILD_ROOT/bin/genin
install -m 0755 $RPM_BUILD_ROOT/bin/%{name} ~/bin/%{name}
install -m 0755 $RPM_BUILD_ROOT/bin/%{name} /usr/local/bin/%{name}

%files
/bin/%{name}

0 comments on commit 0d93189

Please sign in to comment.