mirror of
https://github.com/RunLit/Bambu-Run.git
synced 2026-06-23 06:29:03 +01:00
Compare commits
2 Commits
v0.1.2
...
petg_basic
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e3b485eef | ||
|
|
46902d7ec0 |
56
.github/workflow/bump-version.yml
vendored
Normal file
56
.github/workflow/bump-version.yml
vendored
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
name: Bump Patch Version on Merge to Main
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
bump-version:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
# Skip if this push was itself the version bump commit (prevents infinite loop)
|
||||||
|
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
# Need full git history and ability to push
|
||||||
|
fetch-depth: 0
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Bump patch version in pyproject.toml
|
||||||
|
id: bump
|
||||||
|
run: |
|
||||||
|
# Read current version
|
||||||
|
CURRENT=$(grep '^version = ' pyproject.toml | sed 's/version = "\(.*\)"/\1/')
|
||||||
|
echo "Current version: $CURRENT"
|
||||||
|
|
||||||
|
# Split into parts and increment patch
|
||||||
|
MAJOR=$(echo $CURRENT | cut -d. -f1)
|
||||||
|
MINOR=$(echo $CURRENT | cut -d. -f2)
|
||||||
|
PATCH=$(echo $CURRENT | cut -d. -f3)
|
||||||
|
NEW_PATCH=$((PATCH + 1))
|
||||||
|
NEW_VERSION="$MAJOR.$MINOR.$NEW_PATCH"
|
||||||
|
echo "New version: $NEW_VERSION"
|
||||||
|
|
||||||
|
# Write back to pyproject.toml
|
||||||
|
sed -i "s/^version = \"$CURRENT\"/version = \"$NEW_VERSION\"/" pyproject.toml
|
||||||
|
|
||||||
|
# Export for later steps
|
||||||
|
echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Commit and push bumped version
|
||||||
|
run: |
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
git add pyproject.toml
|
||||||
|
git commit -m "chore: bump version to ${{ steps.bump.outputs.new_version }} [skip ci]"
|
||||||
|
git push
|
||||||
|
- name: Tag the release
|
||||||
|
run: |
|
||||||
|
git tag "v${{ steps.bump.outputs.new_version }}"
|
||||||
|
git push origin "v${{ steps.bump.outputs.new_version }}"
|
||||||
7
docs/Bambu_Color_Catalog/PETG Basic.txt
Normal file
7
docs/Bambu_Color_Catalog/PETG Basic.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
Red #D6001C
|
||||||
|
Yellow #FCE300
|
||||||
|
Reflex Blue #001489
|
||||||
|
Black #000000
|
||||||
|
Gray #7F7E83
|
||||||
|
Dark Brown #4F2C1D
|
||||||
|
White #FFFFFF
|
||||||
4
docs/Bambu_Color_Catalog/PLA Galaxy.txt
Normal file
4
docs/Bambu_Color_Catalog/PLA Galaxy.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Brown #684A43
|
||||||
|
Green #3B665E
|
||||||
|
Nebulae #424379
|
||||||
|
Purple #594177
|
||||||
2
docs/Bambu_Color_Catalog/PLA Marble.txt
Normal file
2
docs/Bambu_Color_Catalog/PLA Marble.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
White Marble #F7F3F0
|
||||||
|
Red Granite #AD4E38
|
||||||
5
docs/Bambu_Color_Catalog/PLA Metal.txt
Normal file
5
docs/Bambu_Color_Catalog/PLA Metal.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Iridium Gold Metallic #B39B84
|
||||||
|
Copper Brown Metallic #AA6443
|
||||||
|
Oxide Green Metallic #1D7C6A
|
||||||
|
Cobalt Blue Metallic #39699E
|
||||||
|
Iron Gray Metallic #43403D
|
||||||
13
docs/Bambu_Color_Catalog/PLA Silk.txt
Normal file
13
docs/Bambu_Color_Catalog/PLA Silk.txt
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Gold #F4A925
|
||||||
|
Silver #C8C8C8
|
||||||
|
Titan Gray #5F6367
|
||||||
|
Blue #008BDA
|
||||||
|
Purple #8671CB
|
||||||
|
Candy Red #D02727
|
||||||
|
Candy Green #018814
|
||||||
|
Rose Gold #BA9594
|
||||||
|
Baby Blue #A8C6EE
|
||||||
|
Pink #F7ADA6
|
||||||
|
Mint #96DCB9
|
||||||
|
Champagne #F3CFB2
|
||||||
|
White #FFFFFF
|
||||||
5
docs/Bambu_Color_Catalog/PLA Sparkle.txt
Normal file
5
docs/Bambu_Color_Catalog/PLA Sparkle.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Slate Gray Sparkle #8E9089
|
||||||
|
Crimson Red Sparkle #792B36
|
||||||
|
Royal Purple Sparkle #483D8B
|
||||||
|
Alpine Green Sparkle #3F5443
|
||||||
|
Onyx Black Sparkle #2D2B28
|
||||||
10
docs/Bambu_Color_Catalog/PLA Translucent.txt
Normal file
10
docs/Bambu_Color_Catalog/PLA Translucent.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Teal Hex:#009FA1
|
||||||
|
Light Jade Hex:#96D8AF
|
||||||
|
Blue Hex:#0047BB
|
||||||
|
Mellow Yellow Hex:#F5DBAB
|
||||||
|
Purple Hex:#8344B0
|
||||||
|
Cherry Pink Hex:#F5B6CD
|
||||||
|
Orange Hex:#F74E02
|
||||||
|
Ice Blue Hex:#B8CDE9
|
||||||
|
Red Hex:#B50011
|
||||||
|
Lavender Hex:#B8ACD6
|
||||||
Reference in New Issue
Block a user