diff --git a/.github/workflows/create_tagged_release_with_packages.yaml b/.github/workflows/create_tagged_release_with_packages.yaml new file mode 100644 index 0000000..4645c0a --- /dev/null +++ b/.github/workflows/create_tagged_release_with_packages.yaml @@ -0,0 +1,27 @@ +name: "Cura-plugin release" + +on: + push: + tags: + - "v*" + +jobs: + create-curapackages: + name: "Tagged Release" + runs-on: "ubuntu-latest" + + steps: + - uses: actions/checkout@v3 + with: + path: "build" + submodules: "recursive" + - uses: fieldOfView/cura-plugin-packager-action@main + with: + source_folder: "build" + package_info_path: "build/.github/workflows/package.json" + - uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + prerelease: false + files: | + *.curapackage diff --git a/.github/workflows/package.json b/.github/workflows/package.json new file mode 100644 index 0000000..4697d1b --- /dev/null +++ b/.github/workflows/package.json @@ -0,0 +1,16 @@ +{ + "author": { + "author_id": "fieldofview", + "display_name": "fieldOfView", + "email": "aldo@fieldofview.com", + "website": "http://fieldofview.com" + }, + "description": "Adds a Z Offset setting to change the distance between the nozzle and the buildplate.\n\nThe development of this plugin can be sponsored via Github Sponsors (https://github.com/sponsors/fieldofview) or Paypal (https://www.paypal.me/fieldofview)", + "display_name": "Z Offset Setting", + "package_id": "ZOffsetPlugin", + "package_type": "plugin", + "package_version": "0.0.0", + "sdk_version": 0, + "sdk_version_semver": "0.0.0", + "website": "https://github.com/fieldOfView/Cura-ZOffsetPlugin" +} \ No newline at end of file diff --git a/ZOffsetPlugin.py b/ZOffsetPlugin.py index 6c246f2..195bbd0 100644 --- a/ZOffsetPlugin.py +++ b/ZOffsetPlugin.py @@ -1,4 +1,4 @@ -# Copyright (c) 2018 fieldOfView +# Copyright (c) 2022 Aldo Hoeben / fieldOfView # The ZOffsetPlugin is released under the terms of the AGPLv3 or higher. import re @@ -35,7 +35,7 @@ def __init__(self): } self._settings_dict["adhesion_z_offset_extensive_processing"] = { "label": "Extensive Z Offset Processing", - "description": "Apply the Z Offset throughout the Gcode file instead of affecting the coordinate system. Turning this option on will increae the processing time so it is recommended to leave it off.", + "description": "Apply the Z Offset throughout the Gcode file instead of affecting the coordinate system. Turning this option on will increase the processing time so it is recommended to leave it off, but it may be needed for some firmware versions.", "type": "bool", "default_value": False, "value": "True if machine_gcode_flavor == \"Griffin\" else False", diff --git a/__init__.py b/__init__.py index a60f1cf..4146c41 100644 --- a/__init__.py +++ b/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2018 fieldOfView +# Copyright (c) 2022 Aldo Hoeben / fieldOfView # The ZOffsetPlugin is released under the terms of the AGPLv3 or higher. from . import ZOffsetPlugin diff --git a/plugin.json b/plugin.json index 08c2c6e..4ed2f32 100644 --- a/plugin.json +++ b/plugin.json @@ -1,8 +1,8 @@ { - "name": "Z Offset plugin", + "name": "Z-Offset plugin", "author": "fieldOfView", - "version": "3.5.7", + "version": "3.6.0", "description": "Adds a Z Offset setting to change the distance between the nozzle and the buildplate", "api": 5, - "supported_sdk_versions": ["5.0.0", "6.0.0", "7.0.0"] + "supported_sdk_versions": ["5.0.0", "6.0.0", "7.0.0", "8.0.0"] }