~hristoast/mousikofidi

af4eb9cbb65987d26065637239454eb6ae867e59 — Hristos N. Triantafillou 8 months ago 8cecd9b
DRY up the version
1 files changed, 6 insertions(+), 4 deletions(-)

M .build.yml
M .build.yml => .build.yml +6 -4
@@ 1,4 1,6 @@
image: debian/stable
environment:
  soupault_version: 1.5
packages:
  - cmark
  - rsync


@@ 11,11 13,11 @@ sources:
  - https://git.sr.ht/~hristoast/mousikofidi
tasks:
  - get-soupault: |
      wget https://files.baturin.org/software/soupault/1.5/soupault-1.5-linux-x86_64.tar.gz
      echo '4df860c40918bad78d77541d528bf75c5886d0b90e4d31bf7378cb4aad531c4f  soupault-1.5-linux-x86_64.tar.gz' | sha256sum -c -
      wget https://files.baturin.org/software/soupault/$soupault_version/soupault-$soupault_version-linux-x86_64.tar.gz
      echo '4df860c40918bad78d77541d528bf75c5886d0b90e4d31bf7378cb4aad531c4f  soupault-$soupault_version-linux-x86_64.tar.gz' | sha256sum -c -
  - install-soupault: |
      tar xvf soupault-1.3.2-linux-x86_64.tar.gz
      sudo mv -v ./soupault-1.3.2-linux-x86_64/soupault /usr/bin/
      tar xvf soupault-$soupault_version-linux-x86_64.tar.gz
      sudo mv -v ./soupault-$soupault_version-linux-x86_64/soupault /usr/bin/
  - build: |
      ./mousikofidi/build.sh
  - deploy: |