1
1
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:
Wez Furlong 2022-04-24 16:17:32 -07:00
parent 19cfdf1aa1
commit 1e11895600
9 changed files with 9 additions and 9 deletions

View File

@ -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 ."

View File

@ -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 ."

View File

@ -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 ."

View File

@ -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 ."

View File

@ -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 ."

View File

@ -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 ."

View File

@ -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 ."

View File

@ -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 ."

View File

@ -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(