mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
drop 7.2
This commit is contained in:
parent
13fde5a378
commit
b423fa1789
2 changed files with 1 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
versions=("7.2" "7.3" "7.4" "8.0" "8.1")
|
versions=("7.3" "7.4" "8.0" "8.1")
|
||||||
|
|
||||||
for version in "${versions[@]}"; do
|
for version in "${versions[@]}"; do
|
||||||
echo "building haze-php-$version"
|
echo "building haze-php-$version"
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@ pub enum PhpVersion {
|
||||||
Php80,
|
Php80,
|
||||||
Php74,
|
Php74,
|
||||||
Php73,
|
Php73,
|
||||||
Php72,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl FromStr for PhpVersion {
|
impl FromStr for PhpVersion {
|
||||||
|
|
@ -29,7 +28,6 @@ impl FromStr for PhpVersion {
|
||||||
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
||||||
match s {
|
match s {
|
||||||
"7" => Ok(PhpVersion::Php74),
|
"7" => Ok(PhpVersion::Php74),
|
||||||
"7.2" => Ok(PhpVersion::Php72),
|
|
||||||
"7.3" => Ok(PhpVersion::Php73),
|
"7.3" => Ok(PhpVersion::Php73),
|
||||||
"7.4" => Ok(PhpVersion::Php74),
|
"7.4" => Ok(PhpVersion::Php74),
|
||||||
"8" => Ok(PhpVersion::Php80),
|
"8" => Ok(PhpVersion::Php80),
|
||||||
|
|
@ -44,7 +42,6 @@ impl PhpVersion {
|
||||||
fn image(&self) -> &'static str {
|
fn image(&self) -> &'static str {
|
||||||
// for now only 7.4
|
// for now only 7.4
|
||||||
match self {
|
match self {
|
||||||
PhpVersion::Php72 => "icewind1991/haze:7.2",
|
|
||||||
PhpVersion::Php73 => "icewind1991/haze:7.3",
|
PhpVersion::Php73 => "icewind1991/haze:7.3",
|
||||||
PhpVersion::Php74 => "icewind1991/haze:7.4",
|
PhpVersion::Php74 => "icewind1991/haze:7.4",
|
||||||
PhpVersion::Php80 => "icewind1991/haze:8.0",
|
PhpVersion::Php80 => "icewind1991/haze:8.0",
|
||||||
|
|
@ -54,7 +51,6 @@ impl PhpVersion {
|
||||||
|
|
||||||
pub fn name(&self) -> &'static str {
|
pub fn name(&self) -> &'static str {
|
||||||
match self {
|
match self {
|
||||||
PhpVersion::Php72 => "7.2",
|
|
||||||
PhpVersion::Php73 => "7.3",
|
PhpVersion::Php73 => "7.3",
|
||||||
PhpVersion::Php74 => "7.4",
|
PhpVersion::Php74 => "7.4",
|
||||||
PhpVersion::Php80 => "8.0",
|
PhpVersion::Php80 => "8.0",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue