Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sebix:intelmq:unstable
intelmq
create_archives.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File create_archives.sh of Package intelmq
#!/bin/bash -e if [[ "$1" = "-h" ]]; then echo "./create-archives version refspec [revision]" exit 0 fi version="$1" if [[ $# -eq 2 ]]; then refspec=$2 revision=1 else if [[ $# -eq 3 ]]; then refspec=$2 revision=$3 else refspec=$version fi fi echo "Creating archives for version '$version-$revision' from refspec '$refspec'." git -C ~/dev/intelmq/ archive --format=tar.gz --prefix=intelmq/ $refspec >| intelmq_$version.orig.tar.gz git -C ~/dev/intelmq/ archive --format=tar.gz --prefix=debian/ $refspec:debian/ >| intelmq_$version-$revision.debian.tar.gz sed -i "s/^Version:.*/Version: $version-$revision/" *.dsc sed -i "s/^Version:.*/Version: $version/" *.spec ./update-dsc.sh
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor