SHA256
1
0
forked from pool/ceph-iscsi

Accepting request 666653 from filesystems:ceph:nautilus

checkin.sh: ensure tarballs are uniquely named

OBS-URL: https://build.opensuse.org/request/show/666653
OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph-iscsi?expand=0&rev=9
This commit is contained in:
Nathan Cutler 2019-01-17 10:32:46 +00:00 committed by Git OBS Bridge
parent a2dc4e7f7d
commit 2af3cd94c7
5 changed files with 12 additions and 5 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e3f80e3e2688eb2cdbfb2e1e3d3431b78a7a0ba766669c8ce2d8152ecb051ec
size 118518

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0a68d067b51e1f9e23fcb4071edc6af426204c1427f8729bb61dda53c18c90f
size 118493

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 17 10:30:29 UTC 2019 - ncutler@suse.com
- checkin.sh: ensure tarballs are uniquely named
-------------------------------------------------------------------
Wed Jan 16 11:44:12 UTC 2019 - ncutler@suse.com

View File

@ -19,7 +19,7 @@
%endif
Name: ceph-iscsi
Version: 3.0
Version: 3.0+1547720996
Release: 1%{?dist}
Group: System/Filesystems
Summary: Python modules for Ceph iSCSI gateway configuration management

View File

@ -93,8 +93,10 @@ if [ ! -d .git ]; then
exit 1
fi
echo "Extracting spec file"
cp $PROJECT.spec $THIS_DIR
VERSION=$(grep ^Version *spec | sed -r "s/^Version:\s+//")
VERSION="${VERSION}+$(date +%s)"
sed -i -e 's/^Version:.*/Version: '$VERSION'/' $PROJECT.spec
cp $PROJECT.spec $THIS_DIR
echo "Version number is ->$VERSION<-"
cd ..
mv clone "$PROJECT-$VERSION"