1e5c31af7Sopenharmony_ci#!/usr/bin/env bash 2e5c31af7Sopenharmony_ci# 3e5c31af7Sopenharmony_ci# Copyright 2016-2024 The Khronos Group Inc. 4e5c31af7Sopenharmony_ci# 5e5c31af7Sopenharmony_ci# SPDX-License-Identifier: Apache-2.0 6e5c31af7Sopenharmony_ci 7e5c31af7Sopenharmony_ci# Install release build with buildRelease into /promoters 8e5c31af7Sopenharmony_ci# 9e5c31af7Sopenharmony_ci# Essentially replaced by genRelease 10e5c31af7Sopenharmony_ci 11e5c31af7Sopenharmony_ci# Root of the Vulkan git repo 12e5c31af7Sopenharmony_ciroot=/home/tree/git/vulkan 13e5c31af7Sopenharmony_ci 14e5c31af7Sopenharmony_ci# Directory with generated specs (core and core+WSI) 15e5c31af7Sopenharmony_cigenspec=$root/out 16e5c31af7Sopenharmony_ci 17e5c31af7Sopenharmony_ci# Promoter Vulkan directory in SVN 18e5c31af7Sopenharmony_cisvnroot=/home/tree/khronos 19e5c31af7Sopenharmony_cipromo=$svnroot/promoters/specs/candidates/vulkan 20e5c31af7Sopenharmony_ci 21e5c31af7Sopenharmony_ci# Directory name for this release 22e5c31af7Sopenharmony_cidate=`date +%Y%m%d` 23e5c31af7Sopenharmony_ci 24e5c31af7Sopenharmony_ciinstall=$promo/$date 25e5c31af7Sopenharmony_ciif test -d $install ; then 26e5c31af7Sopenharmony_ci echo "Target directory $install already exists, may overwrite! Continuing..." 27e5c31af7Sopenharmony_cielse 28e5c31af7Sopenharmony_ci echo "Creating target directory $install" 29e5c31af7Sopenharmony_ci mkdir $install 30e5c31af7Sopenharmony_cifi 31e5c31af7Sopenharmony_ci 32e5c31af7Sopenharmony_ci# Copy various files 33e5c31af7Sopenharmony_cicp $genspec/promoter.html $install/index.html 34e5c31af7Sopenharmony_cimkdir $install/core $install/wsi 35e5c31af7Sopenharmony_cicp -rp $genspec/core $genspec/wsi $genspec/df $install 36e5c31af7Sopenharmony_ci 37e5c31af7Sopenharmony_ciecho "**** Specs are copied to $install" 38e5c31af7Sopenharmony_ciecho "**** Please ensure that:" 39e5c31af7Sopenharmony_ciecho "**** * The right files are all there" 40e5c31af7Sopenharmony_ciecho "**** * The Data Format spec is also there" 41e5c31af7Sopenharmony_ciecho "**** * Everything is added to SVN and committed to the server" 42e5c31af7Sopenharmony_ciecho "You can get there by:" 43e5c31af7Sopenharmony_ciecho "cd $promo" 44e5c31af7Sopenharmony_ciecho "svn add $date" 45