Skip to content

Commit 15e0f51

Browse files
committed
change output folder name to PES (Patroni Environment Setup); use install.ps1 instead of .bat
1 parent 024fc94 commit 15e0f51

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
with:
3737
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
38-
asset_path: ./patroni-win-x64.zip
39-
asset_name: patroni-win-x64.zip
38+
asset_path: ./PES.zip
39+
asset_name: PES.zip
4040
asset_content_type: application/zip
4141

4242
- name: Upload Release Asset (exe)

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
/patroni*
1+
/pes*
2+
*.zip
3+
*.exe

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Automate installing and launching of Patroni under Windows
33

44
## Build
55
1. Run `make.bat`
6-
2. Deploy `patroni-win-x64.zip` or `Patroni-Env-Setup.exe` installer
6+
2. Deploy `PES.zip` or `Patroni-Env-Setup.exe` installer
77

88
## Dependencies
99
* `curl`

clean.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
RMDIR /Q /S patroni-win-x64
1+
RMDIR /Q /S PES
22
DEL *.zip *.exe
33

44
@PAUSE

installer/patroni.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
3737

3838
[Files]
3939
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
40-
Source: "..\patroni-win-x64\*"; DestDir: "{app}"; Flags: ignoreversion createallsubdirs recursesubdirs
40+
Source: "..\PES\*"; DestDir: "{app}"; Flags: ignoreversion createallsubdirs recursesubdirs
4141

4242
[Icons]
4343
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
4444

4545
[Run]
46-
Filename: "{app}\install.bat"; WorkingDir: "{app}"; Flags: waituntilterminated
46+
Filename: "powershell.exe"; Parameters: "-ExecutionPolicy Bypass -File ""{app}\install.ps1"""; WorkingDir: "{app}"; Flags: waituntilterminated

make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@ECHO off
2-
SET MD=patroni-win-x64
2+
SET MD=PES
33
SET ETCD_REF=https://github.com/etcd-io/etcd/releases/download/v3.3.22/etcd-v3.3.22-windows-amd64.zip
44
SET PATRONI_REF=https://github.com/zalando/patroni/archive/v1.6.5.zip
55
SET MICRO_REF=https://github.com/zyedidia/micro/releases/download/v2.0.6/micro-2.0.6-win64.zip

0 commit comments

Comments
 (0)