lbry-desktop/build/reset.sh

22 lines
312 B
Bash
Raw Normal View History

2017-03-10 16:26:15 -05:00
#!/bin/bash
2017-03-06 10:34:37 -06:00
2017-03-10 16:26:15 -05:00
set -euxo pipefail
2017-03-06 10:34:37 -06:00
2017-03-10 16:26:15 -05:00
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
cd "$ROOT"
2017-03-06 10:34:37 -06:00
2017-03-10 16:26:15 -05:00
(
cd lbry
git tag -d $(git describe)
git reset --hard origin/master
)
(
cd lbryum
git tag -d $(git describe)
git reset --hard origin/master
)
2017-03-06 10:34:37 -06:00
git tag -d $(git describe)
git reset --hard HEAD~1