Skip to content

Commit 94a4af3

Browse files
Fix deploy function
This now works as intended. After making changes to the add-in, you can type 'deploy' in the immediate window to automatically do the following: 1. Install to this computer 2. Update deployment date description 3. Create a version-specific zip file ready for upload to GitHub. 4. Export source changes.
1 parent 86dcd74 commit 94a4af3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Version Control.accda.src/modules/modInstall.bas

+2-2
Original file line numberDiff line numberDiff line change
@@ -523,10 +523,10 @@ Public Sub Deploy(Optional ReleaseType As eReleaseType = Same_Version)
523523
If Not UpdateAddInFile Then Exit Sub
524524

525525
' Use the newly installed add-in to Export the project to version control.
526-
VCS.Export
526+
modAPI.HandleRibbonCommand "btnExport"
527527

528528
' Finish with success message if the latest version was installed.
529-
If blnSuccess Then Debug.Print "Version " & AppVersion & " installed."
529+
Debug.Print "Version " & AppVersion & " installed."
530530

531531
End Sub
532532

Version Control.accda.src/vbe-project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"Items": {
77
"Name": "MSAccessVCS",
8-
"Description": "Version 4.0.13 deployed on 6/12/2023",
8+
"Description": "Version 4.0.15 deployed on 7/10/2023",
99
"FileName": "Version Control.accda",
1010
"HelpFile": "",
1111
"HelpContextId": 0,

0 commit comments

Comments
 (0)