lbry-desktop/build/reset.sh

22 lines
312 B
Bash
Raw Normal View History

2017-03-10 22:26:15 +01:00
#!/bin/bash
2017-03-06 17:34:37 +01:00
2017-03-10 22:26:15 +01:00
set -euxo pipefail
2017-03-06 17:34:37 +01:00
2017-03-10 22:26:15 +01:00
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
cd "$ROOT"
2017-03-06 17:34:37 +01:00
2017-03-10 22:26:15 +01: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 17:34:37 +01:00
git tag -d $(git describe)
git reset --hard HEAD~1