Skip to content

Commit 0458f4b

Browse files
committed
add academy-update make target to update academy-theme
Signed-off-by: Siddhi sahu <himanisahu739@gmail.com>
1 parent 71793fc commit 0458f4b

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,15 @@ clean:
3131
hugo --cleanDestinationDir
3232
make site
3333

34-
.PHONY: setup build site clean site-fast check-go
3534

3635
check-go:
3736
@echo "Checking if Go is installed..."
3837
@command -v go > /dev/null || (echo "Go is not installed. Please install it before proceeding."; exit 1)
3938
@echo "Go is installed."
39+
40+
41+
## Update the academy-theme package to latest version
42+
academy-update:
43+
hugo mod get -u
44+
45+
.PHONY: setup build site clean site-fast check-go academy-update

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ go 1.12
88
require (
99
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 // indirect
1010
github.com/google/docsy v0.12.0 // indirect
11-
github.com/layer5io/academy-theme v0.1.10 // indirect
11+
github.com/layer5io/academy-theme v0.1.14 // indirect
1212
github.com/twbs/bootstrap v5.3.7+incompatible // indirect
1313
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ github.com/layer5io/academy-theme v0.1.9 h1:yel0XD6gJTjgKDpgml8Pdzhe/nj3n2UOs7sX
66
github.com/layer5io/academy-theme v0.1.9/go.mod h1:kAidN16xIX6Dx2TBz7y0u3DeU8UnfUcoQZ/rVogXN80=
77
github.com/layer5io/academy-theme v0.1.10 h1:IsCKKmXxcnXX9nnaJX016jRlUzy8wKcuDJhV0nofbSs=
88
github.com/layer5io/academy-theme v0.1.10/go.mod h1:kAidN16xIX6Dx2TBz7y0u3DeU8UnfUcoQZ/rVogXN80=
9+
github.com/layer5io/academy-theme v0.1.14 h1:WLYIrrKrWAPwwbkG9WWavtDsGOK2HpwhTMh1QMw0R3I=
10+
github.com/layer5io/academy-theme v0.1.14/go.mod h1:kAidN16xIX6Dx2TBz7y0u3DeU8UnfUcoQZ/rVogXN80=
911
github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
1012
github.com/twbs/bootstrap v5.3.7+incompatible h1:ea1W8TOWZFkqSK2M0McpgzLiUQVru3bz8aHb0j/XtuM=
1113
github.com/twbs/bootstrap v5.3.7+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=

0 commit comments

Comments
 (0)