Skip to content
Snippets Groups Projects
Commit 286b5c1a authored by erwan's avatar erwan
Browse files

build: use another semantic-release tool

parent 61b1c5a3
No related branches found
No related tags found
No related merge requests found
...@@ -48,15 +48,15 @@ test_opam_test: ...@@ -48,15 +48,15 @@ test_opam_test:
# automating version numbering # automating version numbering
release: release:
image: node:12-buster-slim
stage: release
before_script: before_script:
- yarn install --frozen-lockfile - apt-get update && apt-get install -y --no-install-recommends git-core ca-certificates
image: node:12 - npm install -g semantic-release @semantic-release/gitlab
script:
- semantic-release
only: only:
- master - master
script:
- $(yarn bin)/semantic-delivery-gitlab --preset eslint --token ${GITLAB_AUTH_TOKEN}
stage: release
......
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/gitlab", {
"gitlabUrl": "https://gricad-gitlab.univ-grenoble-alpes.fr",
"assets": [
{"path": "dist/asset.min.css", "label": "CSS distribution"},
{"path": "dist/asset.min.js", "label": "JS distribution"}
]
}],
]
}
SHA:=$(shell git log -1 --pretty=format:"%h"|| echo "opam") SHA:=$(shell git log -1 --pretty=format:"%h"|| echo "opam")
BRANCH:=$(shell git branch | grep "*" | cut -d ' ' -f 2 || basename `pwd` | echo "opam") BRANCH:=$(shell git branch | grep "*" | cut -d ' ' -f 2 || basename `pwd` | echo "opam")
VERSION=$(shell git describe --tags --abbrev=0 || basename `pwd` | cut -d '.' -f2-4)
VERSION=$(shell git describe --tags|| basename `pwd` | cut -d '.' -f2-4)
del_version: del_version:
rm -f lib/sasacore/sasaVersion.ml rm -f lib/sasacore/sasaVersion.ml
......
...@@ -7,10 +7,9 @@ Contains the API to program sasa nodes. ...@@ -7,10 +7,9 @@ Contains the API to program sasa nodes.
authors: [ "Erwan Jahier" ] authors: [ "Erwan Jahier" ]
license: "CeCILL" license: "CeCILL"
homepage: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa" homepage: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
dev-repo: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa.git" dev-repo: "git+https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa.git"
bug-reports: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues" bug-reports: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues"
build: [make "build"] build: ["dune" "build" "-p" name "-j" jobs]
install: [make "install"]
depends: [ depends: [
"ocaml" "ocaml"
"ocamlfind" "ocamlfind"
......
opam-version: "2.0" opam-version: "2.0"
synopsis: "A Graphical User Interface for XXX" synopsis: "A Graphical User Interface for XXX"
maintainer: "XXX" description: "sasa is a *Self-stabilizing Algorithms SimulAtor*. XXX"
description: """ maintainer: "erwan.jahier@univ-grenoble-alpes.fr"
sasa is a *Self-stabilizing Algorithms SimulAtor*. XXX authors: "erwan.jahier@univ-grenoble-alpes.fr"
""" license: "CeCILL-2.1"
authors: [ "XXX" ] homepage:
license: "CeCILL" "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
homepage: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa" bug-reports:
dev-repo: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa.git" "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues"
bug-reports: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues"
build: [make "build"]
install: [make "install"]
depends: [ depends: [
"lablgtk3" "lablgtk3"
"sasa" "sasa"
"dune" {>= "2.8.5"}
"lutils" {>= "0"}
] ]
depexts: [ build: ["dune" "build" "-p" name "-j" jobs]
["graphviz" "emacs" "gnuplot" "zathura"] post-messages:
] "The last version can be obtained via (opam repo add) http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/opam-repository/"
post-messages: ["The last version can be obtained via (opam repo add) http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/opam-repository/ "] depexts: ["graphviz" "emacs" "gnuplot" "zathura"]
dev-repo:
"git+https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa.git"
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
"simulation" "simulation"
], ],
"author": "Erwan Jahier", "author": "Erwan Jahier",
"license": "CeCILL", "license": "CECILL-2.1",
"devDependencies": { "devDependencies": {
"@hutson/semantic-delivery-gitlab": "^9.1.0" "semantic-release": "^17.4.4"
} }
} }
opam-version: "2.0" opam-version: "2.0"
synopsis: "A Graphical User Interface for using rdbg with sasa" synopsis: "A Graphical User Interface for using rdbg with sasa"
maintainer: "erwan.jahier@univ-grenoble-alpes.fr" description: """\
description: """
sasa is a *Self-stabilizing Algorithms SimulAtor*, and rdbg is a reactive sasa is a *Self-stabilizing Algorithms SimulAtor*, and rdbg is a reactive
program debugger. program debugger.
The interactive features of sasa are based on rdbg. rdbgui4sasa is a small lablgtk3 The interactive features of sasa are based on rdbg. rdbgui4sasa is a small lablgtk3
GUI that can be used on top of rdbg when used with sasa. GUI that can be used on top of rdbg when used with sasa."""
""" maintainer: "erwan.jahier@univ-grenoble-alpes.fr"
authors: [ "Erwan Jahier" ] authors: "Erwan Jahier"
license: "CeCILL" license: "CeCILL-2.1"
homepage: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa" homepage:
dev-repo: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa.git" "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
bug-reports: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues" bug-reports:
build: [make "build"] "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues"
install: [make "install"]
depends: [ depends: [
"lablgtk3" "lablgtk3"
"sasa" "sasa"
"dune" {>= "2.8.5"}
"lutils" {>= "0"}
] ]
depexts: [ build: ["dune" "build" "-p" name "-j" jobs]
["graphviz" "emacs" "gnuplot" "zathura"] post-messages:
] "The last version can be obtained via (opam repo add) http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/opam-repository/"
post-messages: ["The last version can be obtained via (opam repo add) http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/opam-repository/ "] depexts: ["graphviz" "emacs" "gnuplot" "zathura"]
dev-repo:
"git+https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa.git"
...@@ -13,14 +13,13 @@ Basically, one needs to provide: ...@@ -13,14 +13,13 @@ Basically, one needs to provide:
authors: [ "Erwan Jahier" ] authors: [ "Erwan Jahier" ]
license: "CeCILL" license: "CeCILL"
homepage: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa" homepage: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
dev-repo: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa.git" dev-repo: "git+https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa.git"
bug-reports: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues" bug-reports: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues"
build: [make "build"] build: ["dune" "build" "-p" name "-j" jobs]
install: [make "install"]
depends: [ depends: [
"ocaml" { >= "4.02" } "ocaml" { >= "4.02" }
"ocamlfind" "ocamlfind"
"dune" { >= "1.11" } "dune" { >= "2.0" }
"ocamlgraph" "ocamlgraph"
"lutils" "lutils"
"rdbg" { >= "1.194" } "rdbg" { >= "1.194" }
......
opam-version: "2.0" opam-version: "2.0"
synopsis: "SASA core library" synopsis: "SASA core library"
description: "The library shared by the sasa binary, and the rdbg plugin."
maintainer: "erwan.jahier@univ-grenoble-alpes.fr" maintainer: "erwan.jahier@univ-grenoble-alpes.fr"
description: """ authors: "Erwan Jahier"
The library shared by the sasa binary, and the rdbg plugin. license: "CeCILL-2.1"
""" homepage:
authors: [ "Erwan Jahier" ] "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
license: "CeCILL" bug-reports:
homepage: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa" "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues"
dev-repo: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa.git"
bug-reports: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues"
build: [make "build"]
install: [make "install"]
depends: [ depends: [
"ocaml" "ocaml"
"ocamlfind" "ocamlfind"
"dune" { build } "dune" {build}
"ocamlgraph" "ocamlgraph"
"lutils" {>= "1.51"}
] ]
available: [ ocaml-version >= "4.02" ] available: ocaml-version >= "4.02"
build: ["dune" "build" "-p" name "-j" jobs]
dev-repo:
"git+https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa.git"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment