Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
a81c1c80a8 | |||
e777d67922 | |||
7edeff5ee1 |
@ -21,7 +21,7 @@
|
|||||||
bl_info = {
|
bl_info = {
|
||||||
'name': 'Blender Cloud',
|
'name': 'Blender Cloud',
|
||||||
'author': 'Sybren A. Stüvel and Francesco Siddi',
|
'author': 'Sybren A. Stüvel and Francesco Siddi',
|
||||||
'version': (1, 4, 3),
|
'version': (1, 4, 4),
|
||||||
'blender': (2, 77, 0),
|
'blender': (2, 77, 0),
|
||||||
'location': 'Addon Preferences panel, and Ctrl+Shift+Alt+A anywhere for texture browser',
|
'location': 'Addon Preferences panel, and Ctrl+Shift+Alt+A anywhere for texture browser',
|
||||||
'description': 'Texture library browser and Blender Sync. Requires the Blender ID addon '
|
'description': 'Texture library browser and Blender Sync. Requires the Blender ID addon '
|
||||||
|
@ -248,6 +248,7 @@ class PillarCredentialsUpdate(pillar.PillarOperatorMixin,
|
|||||||
"""Updates the Pillar URL and tests the new URL."""
|
"""Updates the Pillar URL and tests the new URL."""
|
||||||
bl_idname = 'pillar.credentials_update'
|
bl_idname = 'pillar.credentials_update'
|
||||||
bl_label = 'Update credentials'
|
bl_label = 'Update credentials'
|
||||||
|
bl_description = 'Updates the Pillar URL and tests the new URL'
|
||||||
|
|
||||||
log = logging.getLogger('bpy.ops.%s' % bl_idname)
|
log = logging.getLogger('bpy.ops.%s' % bl_idname)
|
||||||
|
|
||||||
@ -294,6 +295,7 @@ class PILLAR_OT_subscribe(Operator):
|
|||||||
"""Opens a browser to subscribe the user to the Cloud."""
|
"""Opens a browser to subscribe the user to the Cloud."""
|
||||||
bl_idname = 'pillar.subscribe'
|
bl_idname = 'pillar.subscribe'
|
||||||
bl_label = 'Subscribe to the Cloud'
|
bl_label = 'Subscribe to the Cloud'
|
||||||
|
bl_description = 'Opens a browser to subscribe the user to the Cloud'
|
||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
import webbrowser
|
import webbrowser
|
||||||
|
2
setup.py
2
setup.py
@ -196,7 +196,7 @@ setup(
|
|||||||
'wheels': BuildWheels},
|
'wheels': BuildWheels},
|
||||||
name='blender_cloud',
|
name='blender_cloud',
|
||||||
description='The Blender Cloud addon allows browsing the Blender Cloud from Blender.',
|
description='The Blender Cloud addon allows browsing the Blender Cloud from Blender.',
|
||||||
version='1.4.3',
|
version='1.4.4',
|
||||||
author='Sybren A. Stüvel',
|
author='Sybren A. Stüvel',
|
||||||
author_email='sybren@stuvel.eu',
|
author_email='sybren@stuvel.eu',
|
||||||
packages=find_packages('.'),
|
packages=find_packages('.'),
|
||||||
|
15
update_version.sh
Executable file
15
update_version.sh
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then
|
||||||
|
echo "Usage: $0 new-version" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
BL_INFO_VER=$(echo "$1" | sed 's/\./, /g')
|
||||||
|
|
||||||
|
sed "s/version='[^']*'/version='$1'/" -i setup.py
|
||||||
|
sed "s/'version': ([^)]*)/'version': ($BL_INFO_VER)/" -i blender_cloud/__init__.py
|
||||||
|
|
||||||
|
git diff
|
||||||
|
echo
|
||||||
|
echo "Don't forget to commit!"
|
Reference in New Issue
Block a user