diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.md b/.github/ISSUE_TEMPLATE/1-bug-report.md new file mode 100644 index 0000000..c74f5a6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug-report.md @@ -0,0 +1,26 @@ +--- +name: "\U0001F41B Bug report" +about: Create a report to help us improve +title: '' +labels: bug +assignees: '' + +--- + + + +**Describe the bug** + + +**Steps to Reproduce** + +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** + + +**Additional context** + diff --git a/.github/ISSUE_TEMPLATE/2-enhancement.md b/.github/ISSUE_TEMPLATE/2-enhancement.md new file mode 100644 index 0000000..c1fcf97 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-enhancement.md @@ -0,0 +1,25 @@ +--- +name: "\U0001F680 Enhancement" +about: Suggest an idea for this project +title: '' +labels: enhancement +assignees: '' + +--- + + + +**Is your enhancement related to a problem? Please describe.** + + +**Describe the solution you'd like** + + +**Designs** + + +**Describe alternatives you've considered** + + +**Additional context** + diff --git a/.github/ISSUE_TEMPLATE/3-help.md b/.github/ISSUE_TEMPLATE/3-help.md new file mode 100644 index 0000000..6682520 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/3-help.md @@ -0,0 +1,13 @@ +--- +name: "❓ Need help?" +about: Ask us a question, we're here to help! +title: '' +labels: question +assignees: '' + +--- + + + +**Describe your question** + diff --git a/entrypoint.sh b/entrypoint.sh index a6bf358..3d302e0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -29,6 +29,7 @@ echo "ℹ︎ SLUG is $SLUG" # Does it even make sense for VERSION to be editable in a workflow definition? if [[ -z "$VERSION" ]]; then VERSION=${GITHUB_REF#refs/tags/} + VERSION=$(echo $VERSION | sed -e "s/^v//") fi echo "ℹ︎ VERSION is $VERSION" @@ -92,7 +93,11 @@ else fi # Copy dotorg assets to /assets -rsync -rc "$GITHUB_WORKSPACE/$ASSETS_DIR/" assets/ --delete +if [[ -d "$GITHUB_WORKSPACE/$ASSETS_DIR/" ]]; then + rsync -rc "$GITHUB_WORKSPACE/$ASSETS_DIR/" assets/ --delete +else + echo "ℹ︎ No assets directory found; skipping asset copy" +fi # Add everything and commit to SVN # The force flag ensures we recurse into subdirectories even if they are already added