genpass 0.5.1

A simple yet robust commandline random password generator.
image: nixos/latest
sources:
  - git@git.sr.ht:~cyplo/genpass

secrets:
  - 6c23a8c1-7a30-4a7e-b3b7-0171e898a7d3
  - f7642e3d-3fa5-48da-affa-be2fa24da689
  - 996295b0-681c-49e8-8774-1be2f3e0bfe9

environment:
  CI: "true"

tasks:
  - fetch: |
      cd genpass
      nix-shell --pure --run "ls"
  - test: |
      cd genpass
      nix-shell --pure --run "./scripts/test.sh"
      nix-shell --pure --run "./scripts/package.sh"

  - publish_crate: |
      set +xv
      cd genpass
      nix-shell --pure --run "./scripts/release.sh"

  - github_push: |
      set +xv
      cd genpass
      GITHUB_TOKEN=`cat ~/.github_token`
      git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/genpass.git
      nix-shell --pure --run 'git push github --all --force'