Skip to content
Snippets Groups Projects
Commit d0f8ed20 authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

gitlab-ci: Fix source tarball job

* Use show! in source tarball job. Since we aren't actually building
  anything in this job `show` won't
  work.

* Fix Docker image name

* Make `version` file contain only version string
parent b95b6380
No related branches found
No related tags found
No related merge requests found
...@@ -864,7 +864,7 @@ doc-tarball: ...@@ -864,7 +864,7 @@ doc-tarball:
stage: packaging stage: packaging
tags: tags:
- x86_64-linux - x86_64-linux
image: ghcci/x86_64-linux-deb9:0.2 image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV"
dependencies: dependencies:
- validate-x86_64-linux-deb9-debug - validate-x86_64-linux-deb9-debug
- validate-x86_64-windows - validate-x86_64-windows
...@@ -899,7 +899,7 @@ source-tarball: ...@@ -899,7 +899,7 @@ source-tarball:
stage: packaging stage: packaging
tags: tags:
- x86_64-linux - x86_64-linux
image: ghcci/x86_64-linux-deb9:0.2 image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV"
dependencies: [] dependencies: []
only: only:
- tags - tags
...@@ -913,7 +913,9 @@ source-tarball: ...@@ -913,7 +913,9 @@ source-tarball:
- ./configure - ./configure
- make sdist - make sdist
- mv sdistprep/*.xz . - mv sdistprep/*.xz .
- make show VALUE=version > version - make show! --quiet VALUE=ProjectVersion > version
- source version
- echo "$ProjectVersion" > version
############################################################ ############################################################
......
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