-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjreleaser.yml
63 lines (57 loc) · 1.61 KB
/
jreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
environment:
properties:
artifactsDir: out/jreleaser/assemble/helloworld/archive
matrix:
rows:
- { ext: '', platform: osx-aarch_64 }
- { ext: '', platform: osx-x86_64 }
- { ext: '', platform: linux-x86_64 }
#- { ext: '.exe', platform: windows-x86_64 }
hooks:
script:
before:
- run: |
echo "Compiling {{ matrix.platform }}"
mkdir -p target/{{ matrix.platform }}
opam exec -- ocamlc -o target/{{ matrix.platform }}/helloworld{{ matrix.ext }} src/helloworld.ml
verbose: true
applyDefaultMatrix: true
verbose: true
filter:
includes: ['assemble']
project:
name: helloworld
description: HelloWorld in OCaml
longDescription: HelloWorld in OCaml
links:
homepage: https://github.com/jreleaser/helloworld-ocaml
authors:
- Andres Almiray
license: APACHE-2.0
inceptionYear: 2023
stereotype: CLI
release:
github:
overwrite: true
changelog:
formatted: ALWAYS
preset: conventional-commits
contributors:
format: '- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}'
assemble:
archive:
helloworld:
active: ALWAYS
formats: [ ZIP ]
applyDefaultMatrix: true
archiveName: '{{distributionName}}-{{projectVersion}}-{{ matrix.platform }}'
fileSets:
- input: 'target/{{ matrix.platform }}'
output: 'bin'
includes: [ 'helloworld{.exe,}' ]
- input: '.'
includes: [ 'LICENSE' ]
distributions:
helloworld:
executable:
windowsExtension: exe