sapling/ci/create-release.sh
Michael Bolin a04fc2e9b3 create code generator for GitHub actions
Reviewed By: chadaustin

Differential Revision: D39042765

fbshipit-source-id: 3ad4cbdaa01ef724d894fe284061d0d49729a989
2022-08-30 15:37:50 -07:00

10 lines
291 B
Bash
Executable File

#!/bin/bash
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
set -x
name="$1"
gh release view "$name" || gh release create --prerelease --title "$name" "$name"