Skip to content
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
env:
REF_NAME: ${{ github.ref_name }}
run: |
zip -r "${REF_NAME}.zip" * .eslintrc.js .prettierignore .prettierrc.json .shellcheckrc
zip -r "release.zip" * .eslintrc.js .prettierignore .prettierrc.json .shellcheckrc

- name: Create changelog
env:
Expand All @@ -48,7 +48,7 @@ jobs:
env:
REF_NAME: ${{ github.ref_name }}
run: |
SUM=`sha256sum "${REF_NAME}.zip"`
SUM=`sha256sum "release.zip"`
echo -e "\n#### SHA256 Checksum\n\n\`\`\`\n$SUM\n\`\`\`\n" >> ./RELEASE_CHANGELOG
echo "$SUM" > checksum.txt

Expand All @@ -62,5 +62,5 @@ jobs:
prerelease: ${{ contains(github.ref, 'rc') }}
body_path: ./RELEASE_CHANGELOG
files: |
${{ github.ref_name }}.zip
release.zip
checksum.txt
31 changes: 1 addition & 30 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,3 @@
![Code of conduct](https://github.com/user-attachments/assets/c65201ac-400b-41c4-9fdf-a0abeb82048e)


## Community Code of Conduct
Blueprint's Code of Conduct is designed to create a welcoming and inclusive environment for all members of our community. By adhering to these guidelines, we can ensure a positive experience for everyone.

1. **Respect and Inclusivity**\
• Treat all members with respect, kindness, and consideration.\
• Embrace diversity and be inclusive of different backgrounds, perspectives, and experiences.

2. **Communication**\
• Communicate openly and honestly, but also thoughtfully.\
• Listen actively and be open to feedback and differing opinions.\
• Avoid using offensive language, personal attacks, or harassment.

3. **Collaboration**\
• Foster a spirit of collaboration and teamwork.\
• Support one another in achieving community goals.

4. **Conflict Resolution**\
• Address conflicts constructively and privately when possible.\
• Seek mediation from a community leader or moderator if needed.

5. **Privacy and Safety**\
• Respect the privacy of others and do not share personal information without consent.\
• Create a safe space for all members, free from bullying, discrimination, or intimidation.

6. **Accountability**\
• Take responsibility for your actions and their impact on the community.\
• Report any violations of this Code of Conduct to a community leader or moderator.

By following this Code of Conduct, we can create a positive and supportive community for everyone.
## Blueprint's [code of conduct](https://blueprint.zip/legal/conduct) applies to this project.
22 changes: 18 additions & 4 deletions blueprint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

BLUEPRINT_ENGINE="solstice"
REPOSITORY="BlueprintFramework/framework"
VERSION="rolling" #;
REPOSITORY_BRANCH="main"
VERSION="beta-2025-12" #;

FOLDER=$(realpath "$(dirname "$0" 2> /dev/null)" 2> /dev/null) || FOLDER="$BLUEPRINT__FOLDER"
OWNERSHIP="www-data:www-data" #;
Expand Down Expand Up @@ -232,7 +233,7 @@ if [[ $1 != "-bash" ]]; then
exit 2
else
# Only run if Blueprint is not in the process of upgrading.
if [[ ( $BLUEPRINT_ENVIRONMENT != "upgrade" ) && ( $1 != "--post-upgrade" ) ]]; then
if [[ $BLUEPRINT_ENVIRONMENT != "upgrade2" ]]; then
# Print Blueprint icon with ascii characters.
C0="\x1b[0m"
C1="\x1b[31;43;1m"
Expand All @@ -246,9 +247,22 @@ if [[ $1 != "-bash" ]]; then

export PROGRESS_TOTAL=15
export PROGRESS_NOW=0
else
PROGRESS_TOTAL="$(("$PROGRESS_TOTAL" + 15))"
fi

if [[ $BLUEPRINT_ENVIRONMENT == "upgrade" ]]; then
echo -e "\x1b[37;41;1m MANUAL ACTION REQUIRED \x1b[0m"
echo -e "\n\x1b[31;49;1mThis is NOT a bug. Please follow the following instructions:\x1b[0m"

echo -e "\n\x1b[31;49m1. Use the CTRL+C (^C) keyboard shortcut to terminate this process.\x1b[0m"
echo -e "\x1b[31;49m2. Then, run 'blueprint -upgrade' AGAIN.\x1b[0m"

read -r
exit 1
fi

if [[ $BLUEPRINT_ENVIRONMENT == "upgrade2" ]]; then
# Get rid of beta-2025-11 leftovers
rm -rf resources/scripts/blueprint/utility resources/scripts/blueprint/css/BlueprintStylesheet.css resources/scripts/blueprint/index.ts
fi
Expand All @@ -257,7 +271,7 @@ if [[ $1 != "-bash" ]]; then
PRINT INFO "Installing node modules.."
# Check for yarn before installing node modules..
if ! [ -x "$(command -v yarn)" ]; then
PRINT FATAL "Missing dependency \"yarn\"."
PRINT FATAL "Missing dependency \"yarn\"."
fi
hide_progress
fi
Expand Down Expand Up @@ -417,7 +431,7 @@ if [[ $1 != "-bash" ]]; then
sed -i "s~NOTINSTALLED~INSTALLED~g" "$FOLDER/app/BlueprintFramework/Services/PlaceholderService/BlueprintPlaceholderService.php"

# Finish installation
if [[ ( $BLUEPRINT_ENVIRONMENT != "upgrade" ) && ( $1 != "--post-upgrade" ) ]]; then
if [[ $BLUEPRINT_ENVIRONMENT != "upgrade2" ]]; then
PRINT SUCCESS "Blueprint has completed its installation process."
hide_progress
fi
Expand Down
Loading