File: gitlab-ci-release.yml

package info (click to toggle)
ns3 3.46-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 105,864 kB
  • sloc: cpp: 624,863; python: 14,863; ansic: 6,772; makefile: 1,950; sh: 987; javascript: 167; perl: 102
file content (25 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (2)
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
# ns-3 CI/CD script GitLab Releases
#
# Contains jobs to generate automatic GitLab releases of stable ns-3 versions.

gitlab-release:
  stage: release
  image: registry.gitlab.com/gitlab-org/release-cli:latest
  rules:
    - if: $CI_COMMIT_TAG

  script:
    - echo "Creating a new release for tag $CI_COMMIT_TAG"

  release:
    name: $CI_COMMIT_TAG
    description: "$CI_COMMIT_TAG release"
    tag_name: $CI_COMMIT_TAG
    assets:
      links:
        - name: Official Releases (nsnam.org)
          url: https://www.nsnam.org/releases/
        - name: RELEASE_NOTES.md
          url: $CI_PROJECT_URL/-/blob/$CI_COMMIT_TAG/RELEASE_NOTES.md
        - name: CHANGES.md
          url: $CI_PROJECT_URL/-/blob/$CI_COMMIT_TAG/CHANGES.md