Skip to content

Commit 17f8ab8

Browse files
author
hastmu
committed
replace branch with @Branch@
1 parent a4fcca1 commit 17f8ab8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ Reading state information... Done
102102

103103
So the quickest way is:
104104
```
105-
curl -s https://raw.githubusercontent.com/hastmu/apt-proxy-detect/refs/heads/feature/12-establish-pre-hook-for-md-updates/install.deb.sh | sudo bash
105+
curl -s https://raw.githubusercontent.com/hastmu/apt-proxy-detect/refs/heads/@branch@/install.deb.sh | sudo bash
106106
```
107107

108108
looks like
109109

110110
```
111-
dev@dev~#> curl -s https://raw.githubusercontent.com/hastmu/apt-proxy-detect/refs/heads/feature/12-establish-pre-hook-for-md-updates/install.deb.sh | sudo bash
112-
- BRANCH [feature/12-establish-pre-hook-for-md-updates]
111+
dev@dev~#> curl -s https://raw.githubusercontent.com/hastmu/apt-proxy-detect/refs/heads/@branch@/install.deb.sh | sudo bash
112+
- BRANCH [@branch@]
113113
- downloading ... ok.
114114
dpkg-deb: building package 'apt-proxy-detect' in 'apt-proxy-detect_1.0.0_1705676551.deb'.
115115
Reading package lists... Done
@@ -138,7 +138,7 @@ dev@dev~#>
138138

139139
if you like to specify a branch do it like:
140140
```
141-
curl -s https://raw.githubusercontent.com/hastmu/apt-proxy-detect/refs/heads/feature/12-establish-pre-hook-for-md-updates/install.deb.sh | sudo BRANCH=feature/12-establish-pre-hook-for-md-updates bash
141+
curl -s https://raw.githubusercontent.com/hastmu/apt-proxy-detect/refs/heads/@branch@/install.deb.sh | sudo BRANCH=@branch@ bash
142142
```
143143

144144
# How does it work?

install.deb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# defaults
4-
echo "- BRANCH [${BRANCH:=feature/12-establish-pre-hook-for-md-updates}]"
4+
echo "- BRANCH [${BRANCH:=@branch@}]"
55
NAME="apt-proxy-detect"
66
VERSION="1.0.0"
77
HEADHASH="$(date +%s)"

0 commit comments

Comments
 (0)