Skip to content

Commit

Permalink
Pull request #89: Feature/preserve symlinks in deploy
Browse files Browse the repository at this point in the history
Merge in DEV/voyager from feature/preserve-symlinks-in-deploy to master

* commit 'd7eb31bc1a5f0602a2575e4c656ea73327f4a2a5':
  Release notes & version bump for 1.16.3
  Preserve symlinks during voyager deploy
  • Loading branch information
barometz committed May 15, 2023
2 parents 7c8633d + d7eb31b commit a76c6a7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/Installer.iss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ###########################
#define Release "1.16.2"
#define Release "1.16.3"
// ###########################

#define AppName "voyager"
Expand Down
3 changes: 3 additions & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Release notes

### [1.16.3]
- Preserve symlinks during `voyager deploy`.

### [1.16.2]
- Also deploy transitive runtime dependencies

Expand Down
2 changes: 1 addition & 1 deletion voyager/deployfromlockfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def deploy_all_dependencies(deploy_dir, only_runtime_deps):
# use copy_tree from distutils because shutil.copytree stops if directory already exists
# and therefore can't work in this for loop construction
try:
copied += copy_tree(bin_path, deploy_dir)
copied += copy_tree(bin_path, deploy_dir, preserve_symlinks=True)
except distutils.errors.DistutilsFileError: # Found a package that defines a bin dir that does not exist
pass

Expand Down
2 changes: 1 addition & 1 deletion voyager/voyager.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import voyager.doc as doc_server
import voyager.package_update as package_updater

VERSION = "1.16.2"
VERSION = "1.16.3"


@click.group()
Expand Down

0 comments on commit a76c6a7

Please sign in to comment.