generated from osc/skins-template
test new tags
All checks were successful
Generate Skin previews, OSK files and per skin documentation / Detect Changed Skins (push) Successful in 3s
Generate Skin previews, OSK files and per skin documentation / Calculate Git Tag (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Prepare Assets (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Generate Videos and Screenshots (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Generate Mod Icons (WEBP) (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Create OSK Files (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Generate README (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Generate Per-Skin Docs (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Rename Assets Based on skin.ini (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Convert PNGs to WEBPs (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Git Commit and Push (push) Has been skipped
All checks were successful
Generate Skin previews, OSK files and per skin documentation / Detect Changed Skins (push) Successful in 3s
Generate Skin previews, OSK files and per skin documentation / Calculate Git Tag (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Prepare Assets (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Generate Videos and Screenshots (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Generate Mod Icons (WEBP) (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Create OSK Files (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Generate README (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Generate Per-Skin Docs (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Rename Assets Based on skin.ini (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Convert PNGs to WEBPs (push) Has been skipped
Generate Skin previews, OSK files and per skin documentation / Git Commit and Push (push) Has been skipped
This commit is contained in:
@@ -754,7 +754,7 @@ jobs:
|
||||
raw_path="$(printf "%s/%s" "$skin" "$skin_header" | sed 's/^ *//;s/ *$//')"
|
||||
base_path=$(url_encode_path "$raw_path")
|
||||
|
||||
echo "## [$skin_header]($REGISTRY_URL/$USER_REPOSITORY/media/tag/$${{ steps.tag.outputs.new_tag }}/export/${base_path}.osk)" >> "$README_PATH"
|
||||
echo "## [$skin_header]($REGISTRY_URL/$USER_REPOSITORY/media/tag/${{ needs.calculate_git_tag.outputs.new_tag }}/export/${base_path}.osk)" >> "$README_PATH"
|
||||
echo "" >> "$README_PATH"
|
||||
|
||||
desc=$(get_desc "$skin")
|
||||
@@ -778,14 +778,14 @@ jobs:
|
||||
echo "| ------- | ---- |" >> "$README_PATH"
|
||||
|
||||
current_commit_date=$(TZ="Europe/Zurich" date -d "$(git log -1 --format=%cI)" "+%d.%m.%Y %H:%M:%S")
|
||||
echo "| [\$${{ steps.tag.outputs.new_tag }} (Current)\]($REGISTRY_URL/$USER_REPOSITORY/src/tag/$${{ steps.tag.outputs.new_tag }}/README.md) | $current_commit_date |" >> "$README_PATH"
|
||||
echo "| [${{ needs.calculate_git_tag.outputs.new_tag }} (Current)]($REGISTRY_URL/$USER_REPOSITORY/src/tag/${{ needs.calculate_git_tag.outputs.new_tag }}/README.md) | $current_commit_date |" >> "$README_PATH"
|
||||
|
||||
old_tags=$(git tag --sort=-v:refname | grep -v "^$${{ steps.tag.outputs.new_tag }}$" | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' || true)
|
||||
old_tags=$(git tag --sort=-v:refname | grep -v "^${{ needs.calculate_git_tag.outputs.new_tag }}$" | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' || true)
|
||||
if [ -n "$old_tags" ]; then
|
||||
echo "$old_tags" | while read -r tag; do
|
||||
tag_date=$(git log -1 --format=%ci "$tag")
|
||||
formatted_date=$(TZ="Europe/Zurich" date -d "$tag_date" "+%d.%m.%Y %H:%M:%S")
|
||||
echo "| [\$tag\]($REGISTRY_URL/$USER_REPOSITORY/src/tag/$tag/README.md) | $formatted_date |" >> "$README_PATH"
|
||||
echo "| [${{ needs.calculate_git_tag.outputs.new_tag }}]($REGISTRY_URL/$USER_REPOSITORY/src/tag/$tag/README.md) | $formatted_date |" >> "$README_PATH"
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -856,11 +856,11 @@ jobs:
|
||||
|
||||
raw_path="${skin}/${skin_header}"
|
||||
base_path=$(url_encode_path "$raw_path")
|
||||
osk_url="$REGISTRY_URL/$USER_REPOSITORY/media/tag/$${{ steps.tag.outputs.new_tag }}/export/${base_path}.osk"
|
||||
osk_url="$REGISTRY_URL/$USER_REPOSITORY/media/tag/${{ needs.calculate_git_tag.outputs.new_tag }}/export/${base_path}.osk"
|
||||
md_file_path="${DOC_DIR}/${raw_path}.md"
|
||||
|
||||
mkdir -p "$(dirname "$md_file_path")"
|
||||
video_url="$REGISTRY_URL/$USER_REPOSITORY/raw/tag/$${{ steps.tag.outputs.new_tag }}/media/gameplay/${base_path}.mp4"
|
||||
video_url="$REGISTRY_URL/$USER_REPOSITORY/raw/tag/${{ needs.calculate_git_tag.outputs.new_tag }}/media/gameplay/${base_path}.mp4"
|
||||
|
||||
author=""
|
||||
if [ -f "$ini_file" ]; then
|
||||
@@ -893,9 +893,9 @@ jobs:
|
||||
echo "| ------- | ---- |"
|
||||
|
||||
current_commit_date=$(TZ="Europe/Zurich" date -d "$(git log -1 --format=%cI)" "+%d.%m.%Y %H:%M:%S")
|
||||
echo "| [\$${{ steps.tag.outputs.new_tag }} (Current)\]($REGISTRY_URL/$USER_REPOSITORY/src/tag/$${{ steps.tag.outputs.new_tag }}/docs/${base_path}.md) | $current_commit_date |"
|
||||
echo "| [\${{ needs.calculate_git_tag.outputs.new_tag }} (Current)\]($REGISTRY_URL/$USER_REPOSITORY/src/tag/${{ needs.calculate_git_tag.outputs.new_tag }}/docs/${base_path}.md) | $current_commit_date |"
|
||||
|
||||
old_tags=$(git tag --sort=-v:refname | grep -v "^$${{ steps.tag.outputs.new_tag }}$" | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' || true)
|
||||
old_tags=$(git tag --sort=-v:refname | grep -v "^${{ needs.calculate_git_tag.outputs.new_tag }}$" | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' || true)
|
||||
if [ -n "$old_tags" ]; then
|
||||
echo "$old_tags" | while read -r tag; do
|
||||
raw_osk_path="export/${skin}/${skin_header}.osk"
|
||||
@@ -1075,8 +1075,8 @@ jobs:
|
||||
run: |
|
||||
if [ "${GITHUB_REF}" = "refs/heads/main" ]; then
|
||||
git push origin HEAD:main || echo "No changes to push"
|
||||
git tag "$${{ steps.tag.outputs.new_tag }}"
|
||||
git push origin "$${{ steps.tag.outputs.new_tag }}"
|
||||
git tag "${{ needs.calculate_git_tag.outputs.new_tag }}"
|
||||
git push origin "${{ needs.calculate_git_tag.outputs.new_tag }}"
|
||||
else
|
||||
git push origin HEAD:"${GITHUB_REF_NAME}" || echo "No changes to push"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user