Skip to content

Commit

Permalink
chore(delivery): add a release script to increase the bus factor (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
jokesterfr authored Dec 8, 2023
1 parent b511b9d commit ce4b34f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
matrix:
os_flavour: ["alpine", "debian"]
ps_version: ["1.6.1.24", "1.7.8.10", "8.1.1"]
ps_version: ["1.6.1.24", "1.7.8.10", "8.1.2"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
25 changes: 25 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/sh
publish() {
gh workflow run docker-publish.yml \
--repo prestashop/prestashop-flashlight "$@"
}

publish --field ps_version=latest
publish --field ps_version=1.7.8.10
publish --field ps_version=1.6.1.24

publish --field os_flavour=debian --field ps_version=latest
publish --field os_flavour=debian --field ps_version=1.7.8.10
publish --field os_flavour=debian --field ps_version=1.6.1.24

# Minor versions from 1.7
publish --field ps_version=1.7.0.6
publish --field ps_version=1.7.1.2
publish --field ps_version=1.7.2.5
publish --field ps_version=1.7.3.4
publish --field ps_version=1.7.4.4
publish --field ps_version=1.7.5.2
publish --field ps_version=1.7.6.9
publish --field ps_version=1.7.7.8
publish --field ps_version=1.7.8.9
publish --field ps_version=8.0.5

0 comments on commit ce4b34f

Please sign in to comment.