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