circuitpython/tools/git-checkout-latest-tag.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
272 B
Bash
Raw Permalink Normal View History

#!/bin/bash
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
git fetch --tags
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)