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:
# automating version numbering
release:
image: node:12-buster-slim
stage: release
before_script:
- yarn install --frozen-lockfile
image: node:12
- apt-get update && apt-get install -y --no-install-recommends git-core ca-certificates
- npm install -g semantic-release @semantic-release/gitlab
script:
- semantic-release
only:
- 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")
BRANCH:=$(shell git branch | grep "*" | cut -d ' ' -f 2 || basename `pwd` | echo "opam")
VERSION=$(shell git describe --tags|| basename `pwd` | cut -d '.' -f2-4)
VERSION=$(shell git describe --tags --abbrev=0 || basename `pwd` | cut -d '.' -f2-4)
del_version:
rm -f lib/sasacore/sasaVersion.ml
......
......@@ -7,10 +7,9 @@ Contains the API to program sasa nodes.
authors: [ "Erwan Jahier" ]
license: "CeCILL"
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"
build: [make "build"]
install: [make "install"]
build: ["dune" "build" "-p" name "-j" jobs]
depends: [
"ocaml"
"ocamlfind"
......
opam-version: "2.0"
synopsis: "A Graphical User Interface for XXX"
maintainer: "XXX"
description: """
sasa is a *Self-stabilizing Algorithms SimulAtor*. XXX
"""
authors: [ "XXX" ]
license: "CeCILL"
homepage: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
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"]
description: "sasa is a *Self-stabilizing Algorithms SimulAtor*. XXX"
maintainer: "erwan.jahier@univ-grenoble-alpes.fr"
authors: "erwan.jahier@univ-grenoble-alpes.fr"
license: "CeCILL-2.1"
homepage:
"https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
bug-reports:
"https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues"
depends: [
"lablgtk3"
"sasa"
"dune" {>= "2.8.5"}
"lutils" {>= "0"}
]
depexts: [
["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/ "]
build: ["dune" "build" "-p" name "-j" jobs]
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 @@
"simulation"
],
"author": "Erwan Jahier",
"license": "CeCILL",
"license": "CECILL-2.1",
"devDependencies": {
"@hutson/semantic-delivery-gitlab": "^9.1.0"
"semantic-release": "^17.4.4"
}
}
opam-version: "2.0"
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
program debugger.
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.
"""
authors: [ "Erwan Jahier" ]
license: "CeCILL"
homepage: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
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"]
GUI that can be used on top of rdbg when used with sasa."""
maintainer: "erwan.jahier@univ-grenoble-alpes.fr"
authors: "Erwan Jahier"
license: "CeCILL-2.1"
homepage:
"https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
bug-reports:
"https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues"
depends: [
"lablgtk3"
"sasa"
"dune" {>= "2.8.5"}
"lutils" {>= "0"}
]
depexts: [
["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/ "]
build: ["dune" "build" "-p" name "-j" jobs]
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:
authors: [ "Erwan Jahier" ]
license: "CeCILL"
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"
build: [make "build"]
install: [make "install"]
build: ["dune" "build" "-p" name "-j" jobs]
depends: [
"ocaml" { >= "4.02" }
"ocamlfind"
"dune" { >= "1.11" }
"dune" { >= "2.0" }
"ocamlgraph"
"lutils"
"rdbg" { >= "1.194" }
......
opam-version: "2.0"
synopsis: "SASA core library"
description: "The library shared by the sasa binary, and the rdbg plugin."
maintainer: "erwan.jahier@univ-grenoble-alpes.fr"
description: """
The library shared by the sasa binary, and the rdbg plugin.
"""
authors: [ "Erwan Jahier" ]
license: "CeCILL"
homepage: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
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"]
authors: "Erwan Jahier"
license: "CeCILL-2.1"
homepage:
"https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
bug-reports:
"https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa/issues"
depends: [
"ocaml"
"ocamlfind"
"dune" { build }
"dune" {build}
"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