Line 754: |
Line 754: |
| ====SME9==== | | ====SME9==== |
| =====Prepare directory structure for SME9 release===== | | =====Prepare directory structure for SME9 release===== |
| + | VER=9 |
| + | VERSION=$VER.2.RC1 |
| + | VERPREV=$VER.2.beta1 |
| + | |
| SME 9.x test releases will go to /build/smeserver/repo/testing/9. Check that the link points to the correct testing release. Note when uploading Jigdos the ‘9’ link will not be pointing to the new directory. | | SME 9.x test releases will go to /build/smeserver/repo/testing/9. Check that the link points to the correct testing release. Note when uploading Jigdos the ‘9’ link will not be pointing to the new directory. |
− | mkdir -p /build/smeserver/repo/testing/9.0/iso/i386/ | + | mkdir -p /build/smeserver/repo/testing/$VERSION/iso/i386/ |
− | mkdir -p /build/smeserver/repo/testing/9.0/iso/source/ | + | mkdir -p /build/smeserver/repo/testing/$VERSION/iso/source/ |
− | mkdir -p /build/smeserver/repo/testing/9.0/iso/x86_64/ | + | mkdir -p /build/smeserver/repo/testing/$VERSION/iso/x86_64/ |
− | mkdir -p /build/smeserver/repo/testing/9.0/smeos/x86_64/ | + | mkdir -p /build/smeserver/repo/testing/$VERSION/smeos/x86_64/ |
− | mkdir -p /build/smeserver/repo/testing/9.0/smeos/i386/ | + | mkdir -p /build/smeserver/repo/testing/$VERSION/smeos/i386/ |
| + | |
| + | unlink /build/smeserver/repo/testing/$VER |
| + | ln -s /build/smeserver/repo/testing/$VERSION /build/smeserver/repo/testing/$VER |
| | | |
| =====Copy SME Server 9 64 bit Jigdo to mirror===== | | =====Copy SME Server 9 64 bit Jigdo to mirror===== |
− | /bin/cp -a /build/smeserver/stage/iso/9/x86_64/smeserver-9.0-x86_64.jigdo /build/smeserver/repo/testing/9.0/iso/x86_64/ | + | /bin/cp -a /build/smeserver/stage/iso/9/x86_64/smeserver-$VERSION-x86_64.jigdo /build/smeserver/repo/testing/$VERSION/iso/x86_64/ |
− | /bin/cp -a /build/smeserver/stage/iso/9/x86_64/smeserver-9.0-x86_64.template /build/smeserver/repo/testing/9.0/iso/x86_64/ | + | /bin/cp -a /build/smeserver/stage/iso/9/x86_64/smeserver-$VERSION-x86_64.template /build/smeserver/repo/testing/$VERSION/iso/x86_64/ |
− | rsync -a --delete /build/smeserver/stage/9/x86_64/ /build/smeserver/repo/testing/9.0/smeos/x86_64/ | + | rsync -a --delete /build/smeserver/stage/9/x86_64/ /build/smeserver/repo/testing/$VERSION/smeos/x86_64/ |
| | | |
| =====Copy SME Server 9 32 bit Jigdo to mirror===== | | =====Copy SME Server 9 32 bit Jigdo to mirror===== |
− | /bin/cp -a /build/smeserver/stage/iso/9/i386/smeserver-9.0-i386.jigdo /build/smeserver/repo/testing/9.0/iso/i386/ | + | /bin/cp -a /build/smeserver/stage/iso/9/i386/smeserver-$VERSION-i386.jigdo /build/smeserver/repo/testing/$VERSION/iso/i386/ |
− | /bin/cp -a /build/smeserver/stage/iso/9/i386/smeserver-9.0-i386.template /build/smeserver/repo/testing/9.0/iso/i386/ | + | /bin/cp -a /build/smeserver/stage/iso/9/i386/smeserver-$VERSION-i386.template /build/smeserver/repo/testing/$VERSION/iso/i386/ |
− | rsync -a --delete /build/smeserver/stage/9/i386/ /build/smeserver/repo/testing/9.0/smeos/i386 | + | rsync -a --delete /build/smeserver/stage/9/i386/ /build/smeserver/repo/testing/$VERSION/smeos/i386 |
| | | |
| =====Copy SME Server 9 SRPMS Jigdo to mirror===== | | =====Copy SME Server 9 SRPMS Jigdo to mirror===== |
− | /bin/cp -a /build/smeserver/stage/iso/9/source/smeserver-9.0-SRPMS.jigdo /build/smeserver/repo/testing/9.0/iso/source/ | + | /bin/cp -a /build/smeserver/stage/iso/9/source/smeserver-$VERSION-SRPMS.jigdo /build/smeserver/repo/testing/$VERSION/iso/source/ |
− | /bin/cp -a /build/smeserver/stage/iso/9/source/smeserver-9.0-SRPMS.template /build/smeserver/repo/testing/9.0/iso/source/ | + | /bin/cp -a /build/smeserver/stage/iso/9/source/smeserver-$VERSION-SRPMS.template /build/smeserver/repo/testing/$VERSION/iso/source/ |
| rsync -a --delete /build/smeserver/stage/9/SRPMS/ /build/smeserver/repo/testing/9.0/smeos/SRPMS | | rsync -a --delete /build/smeserver/stage/9/SRPMS/ /build/smeserver/repo/testing/9.0/smeos/SRPMS |
| | | |
| =====Copy SME Server 9 ISOs to mirror===== | | =====Copy SME Server 9 ISOs to mirror===== |
− | rsync -a --delete /build/smeserver/stage/iso/9/ /build/smeserver/repo/testing/9.0/iso | + | rsync -a --delete /build/smeserver/stage/iso/9/ /build/smeserver/repo/testing/$VERSION/iso |
| | | |
| | | |