blob: b6c418e295f67ea02a757ae3b28c754578791865 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
off="$(tput sgr0)"
bold="$(tput bold)"
# Colored makepkg-like functions
# yellow
title() {
printf "${bold}$(tput setaf 3)${1}${off}"
}
# blue
section() {
printf "${bold}$(tput setaf 4)${1}${off}"
}
# magenta
issue() {
printf "${bold}$(tput setaf 5)${1}${off}"
}
# green
pr() {
printf "${bold}$(tput setaf 2)${1}${off}"
}
# cyan
author() {
printf "${bold}$(tput setaf 6)${1}${off}"
}
post_install() {
printf "$(title '1.1.0')\n"
printf "$(section 'New Features:')\n"
printf " $(issue '#4'): add inner, outer and smart gaps by $(author '@kyechou') in $(pr '#8')\n"
printf "$(section "Bug Fixes:")\n"
printf " $(issue '#9'): ensure border-width 0 is always applied at startup by $(author '@alex-courtis') in $(pr '#10')\n"
printf "$(title '1.2.0')\n"
printf "$(section 'New Features:')\n"
printf " $(issue '#11'): add --border-width-smart-gaps by $(author '@kyechou') in $(pr '#12')\n"
}
post_upgrade() {
post_install
}
|