summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2022-11-06 03:19:52 -0500
committerGitHub <noreply@github.com>2022-11-06 03:19:52 -0500
commit29bc0b67bae1598cae1fa5202dae3999c7c05f69 (patch)
tree442b80bffe1a52af2cdfdb9b6dc35506bbc107f8
parent8c3e9669b8f2519c2479d0b241e7db129ca63ed4 (diff)
ci: rename deployment folder to scripts (#873)
-rw-r--r--.github/workflows/build_releases.yml2
-rw-r--r--.github/workflows/deployment.yml2
-rw-r--r--Cargo.toml2
-rw-r--r--scripts/cirrus/build.py (renamed from deployment/cirrus/build.py)0
-rw-r--r--scripts/packager.py (renamed from deployment/packager.py)0
-rw-r--r--scripts/windows/choco/bottom.nuspec.template (renamed from deployment/windows/choco/bottom.nuspec.template)0
-rw-r--r--scripts/windows/choco/choco_packager.py (renamed from deployment/windows/choco/choco_packager.py)0
-rw-r--r--scripts/windows/choco/chocolateyinstall.ps1.template (renamed from deployment/windows/choco/chocolateyinstall.ps1.template)0
8 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml
index 4492bee8..a7d536a4 100644
--- a/.github/workflows/build_releases.yml
+++ b/.github/workflows/build_releases.yml
@@ -259,7 +259,7 @@ jobs:
env:
CIRRUS_KEY: ${{ secrets.CIRRUS_TOKEN }}
run: |
- python ./deployment/cirrus/build.py "${{ github.ref_name }}" "release/" "${{ inputs.caller }}"
+ python ./scripts/cirrus/build.py "${{ github.ref_name }}" "release/" "${{ inputs.caller }}"
- name: Save release as artifact
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml
index 53d94ff9..e353dbfd 100644
--- a/.github/workflows/deployment.yml
+++ b/.github/workflows/deployment.yml
@@ -88,7 +88,7 @@ jobs:
- name: Execute choco packaging script
run: |
- python "./deployment/windows/choco/choco_packager.py" "./release/bottom_x86_64-pc-windows-msvc.zip" ${{ env.RELEASE_VERSION }} "./deployment/windows/choco/bottom.nuspec.template" "./deployment/windows/choco/chocolateyinstall.ps1.template" "bottom.nuspec" "tools/chocolateyinstall.ps1" "tools/"
+ python "./scripts/windows/choco/choco_packager.py" "./release/bottom_x86_64-pc-windows-msvc.zip" ${{ env.RELEASE_VERSION }} "./scripts/windows/choco/bottom.nuspec.template" "./scripts/windows/choco/chocolateyinstall.ps1.template" "bottom.nuspec" "tools/chocolateyinstall.ps1" "tools/"
zip -r choco.zip "bottom.nuspec" "tools"
- name: Move release file into release directory
diff --git a/Cargo.toml b/Cargo.toml
index c2d5d828..6d0d7213 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,7 +16,7 @@ exclude = [
".cargo-husky/",
".github/",
"assets/",
- "deployment/",
+ "scripts/",
"docs/",
"sample_configs/",
".all-contributorsrc",
diff --git a/deployment/cirrus/build.py b/scripts/cirrus/build.py
index d1d4bac1..d1d4bac1 100644
--- a/deployment/cirrus/build.py
+++ b/scripts/cirrus/build.py
diff --git a/deployment/packager.py b/scripts/packager.py
index 30f56182..30f56182 100644
--- a/deployment/packager.py
+++ b/scripts/packager.py
diff --git a/deployment/windows/choco/bottom.nuspec.template b/scripts/windows/choco/bottom.nuspec.template
index 7d176f4e..7d176f4e 100644
--- a/deployment/windows/choco/bottom.nuspec.template
+++ b/scripts/windows/choco/bottom.nuspec.template
diff --git a/deployment/windows/choco/choco_packager.py b/scripts/windows/choco/choco_packager.py
index daf3f15f..daf3f15f 100644
--- a/deployment/windows/choco/choco_packager.py
+++ b/scripts/windows/choco/choco_packager.py
diff --git a/deployment/windows/choco/chocolateyinstall.ps1.template b/scripts/windows/choco/chocolateyinstall.ps1.template
index a9245d18..a9245d18 100644
--- a/deployment/windows/choco/chocolateyinstall.ps1.template
+++ b/scripts/windows/choco/chocolateyinstall.ps1.template