circuitpython/tools/git-checkout-latest-tag.sh
2020-07-06 19:16:25 +01:00

9 lines
272 B
Bash
Executable File

#!/bin/bash
# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
#
# SPDX-License-Identifier: MIT
git fetch --tags
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)