Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise Shell Scripts #8

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Revise Shell Scripts #8

wants to merge 9 commits into from

Conversation

yoho321
Copy link
Contributor

@yoho321 yoho321 commented Mar 8, 2023

Hi MGMCN,

When I was testing the project, I just found that the hugo in this project is always in the latest version, which might be an issue in future operation.

Therefore, I revised three shell scripts to make the project better to maintain.

In detail, I allocate stable version of hugo, in which the project is able to run correctly.

@MGMCN
Copy link
Owner

MGMCN commented Mar 11, 2023

Could you also revise the environment section in the readme? Thanks

@MGMCN
Copy link
Owner

MGMCN commented Mar 11, 2023

I need the details of the output of the hugo version you ran on linux-ubuntu & windows & macos .
You can use 👇 to see the output .

$ hugo version

@yoho321
Copy link
Contributor Author

yoho321 commented Mar 12, 2023

Yes, of course!

@MGMCN
Copy link
Owner

MGMCN commented Mar 25, 2023

Did you try "brew install hugo@version" to install hugo ? -> 0cdcc64

@MGMCN
Copy link
Owner

MGMCN commented Mar 25, 2023

Maybe you should try -> link.
Search "Build from source"

@yoho321
Copy link
Contributor Author

yoho321 commented Mar 27, 2023

Thank you! It works! I will update it soon.

@yoho321
Copy link
Contributor Author

yoho321 commented Mar 28, 2023

Sorry, I still met issues as shown below while installing certain version of Hugo on macOS 13.2.

In file included from json.cpp:2:
../go/pkg/mod/github.com/bep/golibsass@v1.1.0/internal/libsass/../../libsass_src/src/json.cpp:1289:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'

I searched online and it seems like a unfixed issue of Hugo, and I suggest just keeping brew install hugo to install the latest and stable Hugo package, as till now there are no compatibility and operational issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants