2019-06-11 15:22:32 -04:00
|
|
|
#!/bin/bash
|
2020-06-03 18:40:05 -04:00
|
|
|
|
2023-11-21 09:45:30 -05:00
|
|
|
set -eo pipefail
|
|
|
|
|
2020-06-03 18:40:05 -04:00
|
|
|
# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
2019-06-11 15:22:32 -04:00
|
|
|
git fetch --tags
|
2023-11-21 09:45:30 -05:00
|
|
|
latest_tag="$(git describe --tags `git rev-list --tags --max-count=1`)"
|
|
|
|
git checkout $latest_tag
|