Skip to content

Comments

Report zls version using git describe#618

Merged
SuperAuguste merged 2 commits intozigtools:masterfrom
Techatrix:report-version
Sep 2, 2022
Merged

Report zls version using git describe#618
SuperAuguste merged 2 commits intozigtools:masterfrom
Techatrix:report-version

Conversation

@Techatrix
Copy link
Member

Outputs something like 0.9.0-210-gda03c81

@Techatrix
Copy link
Member Author

"It works on my machine"
¯\_( ͡° ͜ʖ ͡°)_/¯

@SuperAuguste
Copy link
Member

SuperAuguste commented Sep 1, 2022

I love it but this CI failure means that this won't work on build artifacts/releases :(

Maybe we could add an environment variable bypass and set that environment variable to the latest commit in the CI workflow somehow?

@Techatrix
Copy link
Member Author

Adding fetch-depth: 0 between line 18 & 19 to the checkout action should fix this. I've tried it out on my fork.

- uses: actions/checkout@v2
with:
submodules: true

I've also seen there are new versions checkout@v3 and upload-artifact@v3 available. I am not really experienced with CI so i hope this helps.

@SuperAuguste
Copy link
Member

Oh awesome, feel free to adjust that in this PR! That way the CI will pass and this can be merged! :)

Copy link
Member

@SuperAuguste SuperAuguste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, LGTM! :)

@SuperAuguste SuperAuguste merged commit 34ce200 into zigtools:master Sep 2, 2022
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