Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
Add care binary to CI/CD pipeline
  • Loading branch information
oxr463 committed Jul 22, 2021
1 parent 88aa992 commit 2b66245
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
5 changes: 4 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@ check:
dist:
stage: dist
script:
- LDFLAGS="${LDFLAGS} -static" make -C src proot GIT=false
- LDFLAGS="${LDFLAGS} -static" make -C src proot care GIT=false
after_script:
- mkdir -p dist
- cp src/proot dist/
- cp src/care dist/
- cd dist
- sha256sum ./proot > proot.sha256sum
- sha256sum ./care > care.sha256sum
- md5sum ./proot > proot.md5sum
- md5sum ./care > care.md5sum
artifacts:
paths:
- dist
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Unreleased

Please see `Unreleased Changes`_ for more information.

5.2.0-alpha - 2020-04-14
5.2.0 - 2021-07-21
------------------------

Added
Expand Down Expand Up @@ -100,6 +100,6 @@ Fixed

- Non-executable stack for binaries.

.. _Unreleased Changes: https://github.com/proot-me/proot/compare/v5.2.0-alpha...master
.. _Unreleased Changes: https://github.com/proot-me/proot/compare/v5.2.0...master
.. _Keep a Changelog: https://keepachangelog.com/en/1.0.0
.. _Semantic Versioning: https://semver.org/spec/v2.0.0.html
14 changes: 7 additions & 7 deletions doc/care/manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
Comprehensive Archiver for Reproducible Execution
-------------------------------------------------

:Date: 2014-09-15
:Version: 2.2
:Date: 2021-07-21
:Version: 2.2.1
:Manual section: 1


Expand Down Expand Up @@ -43,9 +43,9 @@ That means it is possible to alter explicitly the reproduced
executions by changing content of the saved file-system, or by
replaying different external events.

.. _umockdev: https://github.com/martinpitt/umockdev/
.. _umockdev: https://github.com/martinpitt/umockdev

.. _artifact evaluation: http://www.artifact-eval.org/
.. _artifact evaluation: http://www.artifact-eval.org

Privacy
-------
Expand Down Expand Up @@ -436,7 +436,7 @@ Downloads
CARE is heavily based on PRoot_, that's why they are both hosted in
the same repository: https://github.com/proot-me/proot. Previous CARE releases were packaged at https://github.com/proot-me/proot-static-build/releases, however, that repository has since been archived. The latest builds can be found under the job artifacts for the `GitLab CI/CD Pipelines <https://gitlab.com/proot/proot/pipelines>`_ for each commit. The following commands can be used to download the latest x86_64 binary for convenience::

curl -LO https://proot.gitlab.io/care/bin/care
curl -LO https://proot.gitlab.io/proot/bin/care
chmod +x ./care
care --version

Expand All @@ -445,8 +445,8 @@ the same repository: https://github.com/proot-me/proot. Previous CARE releases w
Colophon
========

Visit https://proot-me.github.io for help, bug reports, suggestions, patches, ...
Copyright (C) 2020 PRoot Developers, licensed under GPL v2 or later.
Visit https://proot-me.github.io/care for help, bug reports, suggestions, patches, ...
Copyright (C) 2021 PRoot Developers, licensed under GPL v2 or later.

::

Expand Down
6 changes: 3 additions & 3 deletions doc/proot/manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
``chroot``, ``mount --bind``, and ``binfmt_misc`` without privilege/setup
-------------------------------------------------------------------------

:Date: 2020-04-14
:Version: 5.2.0-alpha
:Date: 2021-07-21
:Version: 5.2.0
:Manual section: 1


Expand Down Expand Up @@ -671,7 +671,7 @@ Colophon
========

Visit https://proot-me.github.io for help, bug reports, suggestions, patches, ...
Copyright (C) 2020 PRoot Developers, licensed under GPL v2 or later.
Copyright (C) 2021 PRoot Developers, licensed under GPL v2 or later.

::

Expand Down
2 changes: 1 addition & 1 deletion src/cli/care.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static Cli care_cli = {
.subtitle = "Comprehensive Archiver for Reproducible Execution",
.synopsis = "care [option] ... command",
.colophon = "Visit https://proot-me.github.io for help, bug reports, suggestions, patches, ...\n\
Copyright (C) 2020 PRoot Developers, licensed under GPL v2 or later.",
Copyright (C) 2021 PRoot Developers, licensed under GPL v2 or later.",
.logo = "\
_____ ____ _____ ____\n\
/ __/ __ | __ \\ __|\n\
Expand Down
2 changes: 1 addition & 1 deletion src/cli/proot.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static Cli proot_cli = {
.subtitle = "chroot, mount --bind, and binfmt_misc without privilege/setup",
.synopsis = "proot [option] ... [command]",
.colophon = "Visit https://proot-me.github.io for help, bug reports, suggestions, patches, ...\n\
Copyright (C) 2020 PRoot Developers, licensed under GPL v2 or later.",
Copyright (C) 2021 PRoot Developers, licensed under GPL v2 or later.",
.logo = "\
_____ _____ ___\n\
| __ \\ __ \\_____ _____| |_\n\
Expand Down

0 comments on commit 2b66245

Please sign in to comment.