Skip to content

Commit 9e24c23

Browse files
committed
Move to a 'latest-release' tag for release management
1 parent af434ab commit 9e24c23

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This is just one tool in the chain. `notes` is a command line tool, and some peo
2424
### Automatic:
2525

2626
```bash
27-
curl -L https://rawgit.com/pimterry/notes/master/install.sh | bash
27+
curl -L https://rawgit.com/pimterry/notes/latest-release/install.sh | bash
2828
```
2929
This will install `notes`, a default configuration, a man page, and bash completion if possible.
3030

@@ -33,7 +33,7 @@ This will install `notes`, a default configuration, a man page, and bash complet
3333
Download `notes`, `chmod +x`, put it in your `$path`. This will probably do it:
3434

3535
```bash
36-
curl https://cdn.rawgit.com/pimterry/notes/v0.2.0/notes > /usr/local/bin/notes && chmod +x /usr/local/bin/notes
36+
curl https://cdn.rawgit.com/pimterry/notes/latest-release/notes > /usr/local/bin/notes && chmod +x /usr/local/bin/notes
3737
```
3838

3939
#### Installing auto completion
@@ -49,28 +49,28 @@ Installing the completions might be as follows:
4949
**Bash**
5050

5151
```bash
52-
curl https://cdn.rawgit.com/pimterry/notes/v0.2.0/notes.bash_completion > /usr/share/bash-completion/completions/notes
52+
curl https://cdn.rawgit.com/pimterry/notes/latest-release/notes.bash_completion > /usr/share/bash-completion/completions/notes
5353
```
5454

5555
**Zsh**
5656

5757
On *buntu based distros and OSX:
5858
```bash
59-
curl -L https://rawgit.com/pimterry/notes/master/_notes > /usr/local/share/zsh/site-functions/_notes
59+
curl -L https://rawgit.com/pimterry/notes/latest-release/_notes > /usr/local/share/zsh/site-functions/_notes
6060
```
6161

6262
On other Unix distros:
6363

6464
```bash
65-
curl -L https://rawgit.com/pimterry/notes/master/_notes > /usr/share/zsh/site-functions/_notes
65+
curl -L https://rawgit.com/pimterry/notes/latest-release/_notes > /usr/share/zsh/site-functions/_notes
6666
```
6767

6868
You'll need to open a new shell for this to take effect.
6969

7070
## What if I want to uninstall this?
7171
If you used the automated install script to install notes, you can uninstall it the same way, by running:
7272
```bash
73-
curl -L https://rawgit.com/pimterry/notes/master/install.sh | bash -s -- uninstall
73+
curl -L https://rawgit.com/pimterry/notes/latest-release/install.sh | bash -s -- uninstall
7474
```
7575

7676
## How do I configure this?

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ echo "Checking for dependencies..."
2424
user_home=`eval echo ~$SUDO_USER`
2525
extract_dir=$(mktemp -d /tmp/notes.XXXXX)
2626

27-
echo "Downloading and Extracting Notes from Repository..."
28-
curl -L https://api.github.com/repos/pimterry/notes/tarball | tar -xzp -C $extract_dir --strip-components=1
27+
echo "Downloading and extracting Notes from Repository..."
28+
curl -L https://api.github.com/repos/pimterry/notes/tarball/latest-release | tar -xzp -C $extract_dir --strip-components=1
2929
if [ "$1" != "uninstall" ]; then
3030
echo "Installing notes..."
3131
cd $extract_dir && make USERDIR=$user_home
3232
else
3333
echo "Uninstalling notes..."
3434
cd $extract_dir && make uninstall USERDIR=$user_home
3535
fi
36-
echo "Cleaning Up..."
36+
echo "Cleaning up..."
3737
rm -rf $extract_dir
3838
echo "All done."

0 commit comments

Comments
 (0)