Sign RPM builds.
Changed the packaging scripts to use GPG signing. Change-Id: I380a43f090bc8fb4f30adf5b6879f02b0c0aeb68
This commit is contained in:
9
rpmbuild/automated_rpm_build.exp
Executable file
9
rpmbuild/automated_rpm_build.exp
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/expect
|
||||
|
||||
spawn "./rpmbuild/build_rpm.sh"
|
||||
|
||||
expect "Enter pass phrase: "
|
||||
send "\n"
|
||||
|
||||
interact
|
||||
|
||||
@@ -9,5 +9,5 @@ echo "Building RPM version $BUILD_VERSION"
|
||||
|
||||
cp "dist/barbican-$BUILD_VERSION.tar.gz" rpmbuild/SOURCES
|
||||
sed -e s/BUILD_VERSION/$BUILD_VERSION/g -i rpmbuild/SPECS/barbican.spec
|
||||
rpmbuild -ba rpmbuild/SPECS/barbican.spec
|
||||
rpmbuild -ba --sign rpmbuild/SPECS/barbican.spec
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user