mirror of
https://github.com/wez/wezterm.git
synced 2024-12-28 07:55:03 +03:00
ci: fixup sed usage for APKs
Part of the directory structure is `/wezterm/something/wezterm-` Take care not to rewrite that earlier wezterm directory to something bogus.
This commit is contained in:
parent
19cfdf1aa1
commit
1e11895600
2
.github/workflows/gen_alpine3.12.yml
vendored
2
.github/workflows/gen_alpine3.12.yml
vendored
@ -80,7 +80,7 @@ jobs:
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm/wezterm-alpine3.12')"
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.12')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
|
2
.github/workflows/gen_alpine3.12_tag.yml
vendored
2
.github/workflows/gen_alpine3.12_tag.yml
vendored
@ -70,7 +70,7 @@ jobs:
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm/wezterm-alpine3.12')"
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.12')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
|
2
.github/workflows/gen_alpine3.13.yml
vendored
2
.github/workflows/gen_alpine3.13.yml
vendored
@ -80,7 +80,7 @@ jobs:
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm/wezterm-alpine3.13')"
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.13')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
|
2
.github/workflows/gen_alpine3.13_tag.yml
vendored
2
.github/workflows/gen_alpine3.13_tag.yml
vendored
@ -70,7 +70,7 @@ jobs:
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm/wezterm-alpine3.13')"
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.13')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
|
2
.github/workflows/gen_alpine3.14.yml
vendored
2
.github/workflows/gen_alpine3.14.yml
vendored
@ -80,7 +80,7 @@ jobs:
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm/wezterm-alpine3.14')"
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.14')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
|
2
.github/workflows/gen_alpine3.14_tag.yml
vendored
2
.github/workflows/gen_alpine3.14_tag.yml
vendored
@ -70,7 +70,7 @@ jobs:
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm/wezterm-alpine3.14')"
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.14')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
|
2
.github/workflows/gen_alpine3.15.yml
vendored
2
.github/workflows/gen_alpine3.15.yml
vendored
@ -80,7 +80,7 @@ jobs:
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm/wezterm-alpine3.15')"
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.15')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
|
2
.github/workflows/gen_alpine3.15_tag.yml
vendored
2
.github/workflows/gen_alpine3.15_tag.yml
vendored
@ -70,7 +70,7 @@ jobs:
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm/wezterm-alpine3.15')"
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.15')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
|
@ -382,7 +382,7 @@ cargo build --all --release""",
|
||||
# Add the distro name/version into the filename
|
||||
RunStep(
|
||||
"Rename APKs",
|
||||
f"mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm/wezterm-{self.name}')",
|
||||
f"mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-{self.name}')",
|
||||
),
|
||||
# Move it to the repo dir
|
||||
RunStep(
|
||||
|
Loading…
Reference in New Issue
Block a user