ffizer 2.13.7

ffizer is a files and folders initializer / generator. It creates or updates any kind (or part) of project from template(s)
Documentation
project:
  name: ffizer
  # version: 2-SNAPSHOT # to use system env
  description: ffizer is a files and folders initializer / generator.
  longDescription: |
    ffizer is a files and folders initializer / generator.
    It creates or updates any kind (or part) of project from template(s)
  authors:
    - David Bernard
  license: CC0-1.0
  links:
    homepage: https://ffizer.github.io/ffizer/book/
    bugTracker: https://github.com/ffizer/ffizer/issues
    donation: https://github.com/sponsors/davidB
  inceptionYear: "2018"
  stereotype: CLI

platform:
  replacements:
    "osx-x86_64": "x86_64-apple-darwin"
    "osx-aarch_64": "aarch64-apple-darwin"
    "osx": "all-apple-darwin"
    "linux-x86_64": "x86_64-unknown-linux-gnu"
    "linux-aarch_64": "aarch64-unknown-linux-gnu"
    "windows-x86_64": "x86_64-pc-windows-msvc"
    # "linux_musl-x86_64": "x86_64-unknown-linux-musl"
    # "linux_musl-aarch_64": "aarch64-unknown-linux-musl"

release:
  github:
    owner: ffizer
    name: ffizer
    overwrite: true
    update:
      enabled: true
    tagName: "{{projectVersion}}" # default: `v{{projectVersion}}`
    releaseName: "{{tagName}}" # default: `Release {{tagName}}`
    skipTag: true
    skipRelease: false
    branch: master
    changelog:
      enabled: false # disable due to "Failed to get value for commitTitle"
      formatted: ALWAYS
      preset: gitmoji
      # format: "- {{commitShortHash}} {{commitTitle}}"
      # contributors:
      #   format: "- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}"

assemble:
  archive:
    ffizer:
      active: ALWAYS
      formats: [ZIP, TGZ]
      options:
        longFileMode: POSIX
        bigNumberMode: POSIX
      distributionType: BINARY
      archiveName: "{{distributionName}}_{{projectVersion}}"
      attachPlatform: true
      fileSets:
        - input: "target/{{ osPlatformReplaced }}/release"
          output: "bin"
          includes: ["ffizer{.exe,}"]
        # - input: "."
        #   includes: ["LICENSE"]

distributions:
  ffizer:
    type: BINARY # because use of an archive
    executable:
      windowsExtension: exe
    artifacts:
      # .zip for Homebrew (doesn't support .tgz, .tar.gz)
      # .tgz for cargo-binstall
      - path: "{{artifactsDir}}/{{distributionName}}_{{projectVersion}}-all-apple-darwin.tgz"
        platform: "osx"
      - path: "{{artifactsDir}}/{{distributionName}}_{{projectVersion}}-aarch64-apple-darwin.tgz"
        platform: "osx-aarch_64"
      - path: "{{artifactsDir}}/{{distributionName}}_{{projectVersion}}-aarch64-apple-darwin.zip"
        platform: "osx-aarch_64"
      - path: "{{artifactsDir}}/{{distributionName}}_{{projectVersion}}-x86_64-apple-darwin.tgz"
        platform: "osx-x86_64"
      - path: "{{artifactsDir}}/{{distributionName}}_{{projectVersion}}-x86_64-apple-darwin.zip"
        platform: "osx-x86_64"
      - path: "{{artifactsDir}}/{{distributionName}}_{{projectVersion}}-x86_64-pc-windows-msvc.zip"
        platform: "windows-x86_64"
      - path: "{{artifactsDir}}/{{distributionName}}_{{projectVersion}}-x86_64-unknown-linux-gnu.tgz"
        platform: "linux-x86_64"
      - path: "{{artifactsDir}}/{{distributionName}}_{{projectVersion}}-x86_64-unknown-linux-gnu.zip"
        platform: "linux-x86_64"
      - path: "{{artifactsDir}}/{{distributionName}}_{{projectVersion}}-aarch64-unknown-linux-gnu.tgz"
        platform: "linux-aarch_64"
      - path: "{{artifactsDir}}/{{distributionName}}_{{projectVersion}}-aarch64-unknown-linux-gnu.zip"
        platform: "linux-aarch_64"
      # - path: "{{artifactsDir}}/{{distributionName}}_{{projectVersion}}-x86_64-unknown-linux-musl.tgz"
      #   platform: "linux_musl-x86_64"
      # - path: "{{artifactsDir}}/{{distributionName}}_{{projectVersion}}-aarch64-unknown-linux-musl.tgz"
      #   platform: "linux_musl-aarch_64"

packagers:
  asdf:
    active: NEVER # RELEASE
    repository:
      active: ALWAYS # RELEASE
      name: asdf-ffizer # asdf-duke
  brew:
    active: ALWAYS
    repository:
      active: ALWAYS # RELEASE
      name: homebrew-ffizer # homebrew-tap
    formulaName: FfizerBin
    multiPlatform: true
  # scoop:
  #   active: ALWAYS