-
Notifications
You must be signed in to change notification settings - Fork 103
fixed preview workflow and added current version in navbar! #488
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
Merged
Merged
Changes from 20 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
7020849
update preview workflow
shravanngoswamii 28ddea1
testing preview workflow
shravanngoswamii 0796c2b
testing preview workflow
shravanngoswamii 32afd7b
testing preview workflow
shravanngoswamii 9420566
testing preview workflow
shravanngoswamii 2774757
tests
shravanngoswamii b521bcd
test2
shravanngoswamii 81233d3
test2
shravanngoswamii b3ab87a
test2
shravanngoswamii f6d21cc
test2
shravanngoswamii 970c000
thollander comment workflow
shravanngoswamii e222b97
thollander comment workflow
shravanngoswamii 40c2ffc
thollander comment workflow
shravanngoswamii dee918a
thollander comment workflow
shravanngoswamii 45d8b1c
vcheck workflow test for forks
shravanngoswamii 2429d3d
vcheck skip
shravanngoswamii c0f68e1
added vdropdown with current version in navbar
shravanngoswamii ab64b34
hotfix in _quarto.yml
shravanngoswamii 21f8c03
ajusted vdropdown a bit
shravanngoswamii f9ffdc4
updated comments
shravanngoswamii ed0df9c
removed version and changelog from sidebar
shravanngoswamii 0ce8a6c
testing new workflow
shravanngoswamii d5c417a
updated vcheck
shravanngoswamii cdc46fe
updated version in _quarto.yml
shravanngoswamii e0c8e1b
updated version in _quarto.yml
shravanngoswamii b3dd56e
Changed sed to awk
shravanngoswamii a97f899
updated vcheck
shravanngoswamii 1e1bdb3
updated publish.yml
shravanngoswamii b465a42
.
shravanngoswamii 7be6e70
.
shravanngoswamii 467a8cf
updated vcheck
shravanngoswamii 32ac5b9
updated vcheck
shravanngoswamii 32c15b8
another suggestion workflow
shravanngoswamii d23dcf9
updated suggestion workflow
shravanngoswamii adb52c0
manual approach
shravanngoswamii c5f211f
json parsing fixed
shravanngoswamii af7b8a5
continue on error previous worklow
shravanngoswamii ee633d8
finally its done😊
shravanngoswamii bff58da
Update .github/workflows/vcheck.yml
shravanngoswamii File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
|
||
# Read the current version from the VERSION file | ||
CURRENT_VERSION=$(cat VERSION) | ||
|
||
# Define the current version to be inserted | ||
VERSIONS_SECTION=$(cat << EOF | ||
# The current version will be inserted here by the script | ||
- text: "$CURRENT_VERSION" | ||
# The current version ends here | ||
EOF | ||
) | ||
|
||
# Use awk to replace the existing versions section between the comments | ||
awk -v versions="$VERSIONS_SECTION" ' | ||
BEGIN { in_versions = 0 } | ||
/# The current version will be inserted here by the script/ { | ||
print versions | ||
in_versions = 1 | ||
next | ||
} | ||
/# The current version ends here/ { | ||
in_versions = 0 | ||
next | ||
} | ||
!in_versions { print $0 } | ||
' _quarto.yml > _quarto.yml.tmp && mv _quarto.yml.tmp _quarto.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.