Line 604: |
Line 604: |
| | | |
| ====SME10==== | | ====SME10==== |
| + | |
| + | VER=10 |
| + | VERSION=$VER.0.alpha1 |
| + | VERPREV=$VER.0.alpha0 |
| + | |
| =====Prepare directory structure for SME10 release===== | | =====Prepare directory structure for SME10 release===== |
| SME 10.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 ‘10’ link will not be pointing to the new directory. | | SME 10.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 ‘10’ link will not be pointing to the new directory. |
− | 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/ |
| | | |
| | | |
| =====Copy SME Server 10 64 bit Jigdo to mirror===== | | =====Copy SME Server 10 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/$VER/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/$VER/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/$VER/x86_64/ /build/smeserver/repo/testing/$VERSION/smeos/x86_64/ |
| | | |
| | | |
| =====Copy SME Server 10 SRPMS Jigdo to mirror===== | | =====Copy SME Server 10 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/$VER/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/$VER/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/$VER/SRPMS/ /build/smeserver/repo/testing/$VERSION/smeos/SRPMS |
| | | |
| =====Copy SME Server 10 ISOs to mirror===== | | =====Copy SME Server 10 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/$VER/ /build/smeserver/repo/testing/$VERSION/iso |
| | | |
| | | |
| =====Hard links===== | | =====Hard links===== |
| As an example how to create the hard links: | | As an example how to create the hard links: |
− | cp -lr /build/smeserver/repo/testing/9.0rc1/smeos/* /build/smeserver/repo/testing/9.0/smeos/ | + | cp -lr /build/smeserver/repo/testing/$VERPREV/smeos/* /build/smeserver/repo/testing/$VERSION/smeos/ |
− | mkdir -p /build/smeserver/repo/testing/9.0/smeaddons/ | + | mkdir -p /build/smeserver/repo/testing/$VERSION/smeaddons/ |
− | mkdir -p /build/smeserver/repo/testing/9.0/smecontribs/ | + | mkdir -p /build/smeserver/repo/testing/$VERSION/smecontribs/ |
− | mkdir -p /build/smeserver/repo/testing/9.0/smedev/ | + | mkdir -p /build/smeserver/repo/testing/$VERSION/smedev/ |
− | mkdir -p /build/smeserver/repo/testing/9.0/smeextras/ | + | mkdir -p /build/smeserver/repo/testing/$VERSION/smeextras/ |
− | mkdir -p /build/smeserver/repo/testing/9.0/smetest/ | + | mkdir -p /build/smeserver/repo/testing/$VERSION/smetest/ |
− | mkdir -p /build/smeserver/repo/testing/9.0/smeupdates/ | + | mkdir -p /build/smeserver/repo/testing/$VERSION/smeupdates/ |
− | mkdir -p /build/smeserver/repo/testing/9.0/smeupdates-testing/ | + | mkdir -p /build/smeserver/repo/testing/$VERSION/smeupdates-testing/ |
− | cp -lr /build/smeserver/repo/testing/9.0rc1/smecontribs/* /build/smeserver/repo/testing/9.0/smecontribs/ | + | cp -lr /build/smeserver/repo/testing/$VERPREV/smecontribs/* /build/smeserver/repo/testing/$VERSION/smecontribs/ |
− | cp -lr /build/smeserver/repo/testing/9.0rc1/smedev/* /build/smeserver/repo/testing/9.0/smedev/ | + | cp -lr /build/smeserver/repo/testing/$VERPREV/smedev/* /build/smeserver/repo/testing/$VERSION/smedev/ |
− | cp -lr /build/smeserver/repo/testing/9.0rc1/smeextras/* /build/smeserver/repo/testing/9.0/smeextras/ | + | cp -lr /build/smeserver/repo/testing/$VERPREV/smeextras/* /build/smeserver/repo/testing/$VERSION/smeextras/ |
− | cp -lr /build/smeserver/repo/testing/9.0rc1/smetest/* /build/smeserver/repo/testing/9.0/smetest/ | + | cp -lr /build/smeserver/repo/testing/$VERPREV/smetest/* /build/smeserver/repo/testing/$VERSION/smetest/ |
− | cp -lr /build/smeserver/repo/testing/9.0rc1/smeupdates/* /build/smeserver/repo/testing/9.0/smeupdates/ | + | cp -lr /build/smeserver/repo/testing/$VERPREV/smeupdates/* /build/smeserver/repo/testing/$VERSION/smeupdates/ |
− | cp -lr /build/smeserver/repo/testing/9.0rc1/smeupdates-testing/* /build/smeserver/repo/testing/9.0/smeupdates-testing/ | + | cp -lr /build/smeserver/repo/testing/$VERPREV/smeupdates-testing/* /build/smeserver/repo/testing/$VERSION/smeupdates-testing/ |
− | cp -lr /build/smeserver/repo/testing/9.0rc1/smeaddons/* /build/smeserver/repo/testing/9.0/smeaddons/ | + | cp -lr /build/smeserver/repo/testing/$VERPREV/smeaddons/* /build/smeserver/repo/testing/$VERSION/smeaddons/ |
| | | |
| ====SME9==== | | ====SME9==== |