mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 17:14:17 +01:00
Removes yotta from bump_version.sh
Yotta version is independent of the mbed TLS version so shouldn't be set by this script. Also adds a header, copyright and attribution to the script.
This commit is contained in:
parent
584a547873
commit
768594d772
@ -1,4 +1,17 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# This file is part of mbed TLS (https://tls.mbed.org)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2012-2016, ARM Limited, All Rights Reserved
|
||||||
|
#
|
||||||
|
# Purpose
|
||||||
|
#
|
||||||
|
# Sets the version numbers in the source code to those given.
|
||||||
|
#
|
||||||
|
# Usage: bump_version.sh [ --version <version> ] [ --so-crypto <version>]
|
||||||
|
# [ --so-x509 <version> ] [ --so-tls <version> ]
|
||||||
|
# [ -v | --verbose ] [ -h | --help ]
|
||||||
|
#
|
||||||
|
|
||||||
VERSION=""
|
VERSION=""
|
||||||
SOVERSION=""
|
SOVERSION=""
|
||||||
@ -109,10 +122,6 @@ mv tmp include/mbedtls/version.h
|
|||||||
sed -e "s/version:\".\{1,\}/version:\"$VERSION\"/g" < tests/suites/test_suite_version.data > tmp
|
sed -e "s/version:\".\{1,\}/version:\"$VERSION\"/g" < tests/suites/test_suite_version.data > tmp
|
||||||
mv tmp tests/suites/test_suite_version.data
|
mv tmp tests/suites/test_suite_version.data
|
||||||
|
|
||||||
[ $VERBOSE ] && echo "Bumping version in yotta/data/module.json"
|
|
||||||
sed -e "s/\"version\": \".\{1,\}\"/\"version\": \"$VERSION\"/g" < yotta/data/module.json > tmp
|
|
||||||
mv tmp yotta/data/module.json
|
|
||||||
|
|
||||||
[ $VERBOSE ] && echo "Bumping PROJECT_NAME in doxygen/mbedtls.doxyfile and doxygen/input/doc_mainpage.h"
|
[ $VERBOSE ] && echo "Bumping PROJECT_NAME in doxygen/mbedtls.doxyfile and doxygen/input/doc_mainpage.h"
|
||||||
for i in doxygen/mbedtls.doxyfile doxygen/input/doc_mainpage.h;
|
for i in doxygen/mbedtls.doxyfile doxygen/input/doc_mainpage.h;
|
||||||
do
|
do
|
||||||
@ -128,3 +137,4 @@ scripts/generate_features.pl
|
|||||||
|
|
||||||
[ $VERBOSE ] && echo "Re-generating visualc files"
|
[ $VERBOSE ] && echo "Re-generating visualc files"
|
||||||
scripts/generate_visualc_files.pl
|
scripts/generate_visualc_files.pl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user