Skip to content

Commit

Permalink
fix: patch bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
polarhive committed Apr 13, 2024
1 parent 3b2292b commit ce49ea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/helpers/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (h *Helper) CreateRenderedDir(fileOutPath string) {

func (h *Helper) Bootstrap() {
log.Println("Downloading base theme")
url := "https://github.com/acmpesuecc/anna/archive/refs/heads/main.zip"
url := "https://github.com/acmpesuecc/anna/archive/refs/tags/v1.0.0-alpha.zip"
output, err := os.Create("anna-repo.zip")
if err != nil {
fmt.Println("Error creating output file:", err)
Expand Down Expand Up @@ -153,7 +153,7 @@ func ext() {
helper := &Helper{
ErrorLogger: log.New(os.Stderr, "ERROR: ", log.LstdFlags),
}
helper.CopyDirectoryContents("anna-main/site/", "site/")
helper.CopyDirectoryContents("anna-1.0.0-alpha/site/", "site/")

if err := os.RemoveAll("anna-main"); err != nil {
log.Println("Error deleting directory:", err)
Expand Down

0 comments on commit ce49ea2

Please sign in to comment.