Skip to content

Commit

Permalink
release: Fix the creation of the opam-full-<version>.tar.gz archive (…
Browse files Browse the repository at this point in the history
…mccs was missing)
  • Loading branch information
kit-ty-kate committed Jul 2, 2024
1 parent f974540 commit 334af50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ users)
## Infrastructure

## Release scripts
* Add the missing mccs archive to the opam-full-<version>.tar.gz archive [#6066 @kit-ty-kate]
* Ensure the configure file stays as it is in the tag, in the opam-full-<version>.tar.gz archive [#6066 @kit-ty-kate]

## Install script
* Provide a shell/install.ps1 PowerShell script to install opam on Windows [#5906 @kit-ty-kate @dra27]
Expand Down
6 changes: 1 addition & 5 deletions release/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ s390x-linux: $(OUTDIR)/opam-$(VERSION)-s390x-linux
$(OUTDIR)/opam-full-$(VERSION).tar.gz:
mkdir -p "$(OUTDIR)"
git clone $(GIT_URL) -b $(TAG) "$(OUTDIR)/opam-full-$(VERSION)"
sed 's/^AC_INIT(\[opam\],\[.*\])/AC_INIT([opam],[$(OPAM_VERSION)])/' "$(OUTDIR)/opam-full-$(VERSION)/configure.ac" > \
"$(OUTDIR)/opam-full-$(VERSION)/configure.ac.tmp"
mv "$(OUTDIR)/opam-full-$(VERSION)/configure.ac.tmp" \
"$(OUTDIR)/opam-full-$(VERSION)/configure.ac"
$(MAKE) -C "$(OUTDIR)/opam-full-$(VERSION)" OCAML=$(call pathsearch,ocaml) configure download-ext
$(MAKE) -C "$(OUTDIR)/opam-full-$(VERSION)" OCAML=$(call pathsearch,ocaml) MCCS_ENABLED=true download-ext
cd "$(OUTDIR)" && tar cz -f $(notdir $@) --exclude .git/ opam-full-$(VERSION)
rm -rf "$(OUTDIR)/opam-full-$(VERSION)"

Expand Down

0 comments on commit 334af50

Please sign in to comment.