Skip to content

Commit

Permalink
Fix deploy function
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joyfullservice committed Jul 10, 2023
1 parent 86dcd74 commit 94a4af3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Version Control.accda.src/modules/modInstall.bas
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,10 @@ Public Sub Deploy(Optional ReleaseType As eReleaseType = Same_Version)
If Not UpdateAddInFile Then Exit Sub

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

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

End Sub

Expand Down
2 changes: 1 addition & 1 deletion Version Control.accda.src/vbe-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"Items": {
"Name": "MSAccessVCS",
"Description": "Version 4.0.13 deployed on 6/12/2023",
"Description": "Version 4.0.15 deployed on 7/10/2023",
"FileName": "Version Control.accda",
"HelpFile": "",
"HelpContextId": 0,
Expand Down

0 comments on commit 94a4af3

Please sign in to comment.