8000 Enable automatic release on version change by rst0git · Pull Request #2829 · p4lang/p4c · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Enable automatic release on version change #2829

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 29, 2021

Conversation

rst0git
Copy link
Member
@rst0git rst0git commented Jun 27, 2021

This pull request enables automatic GitHub release (and git tag creation) every time the version of P4C has been changed.

@rst0git rst0git force-pushed the automate-releases branch 2 times, most recently from a6ccc3c to 49647ca Compare June 27, 2021 22:25
@hesingh
Copy link
Contributor
hesingh commented Jun 28, 2021

Is this work discussed in any meeting and asked to do? I can always use a git commit id to pull a branch for p4c.

@rst0git
Copy link
Member Author
rst0git commented Jun 28, 2021

Is this work discussed in any meeting and asked to do?

I'm sorry, I should have mentioned this. We discussed it on the PSA meeting.

Copy link
Contributor
@mihaibudiu mihaibudiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fruffy can you please review these files? You have written our github actions automation.
Thank you.

This commit create a VERSION file that can be used to obtain the current
version of P4C.

The current version string "1.2.0+g202103291035~a69e52" contains a semantic
version, date and current git commit. However, the date makes sense only in
packages. Building the same P4C compiler code on a different day should not
result in a different version name. The current git commit is automatically
from the git history.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@rst0git rst0git force-pushed the automate-releases branch from 49647ca to ba33f2f Compare June 29, 2021 08:16
@rst0git rst0git requested a review from fruffy June 2 8000 9, 2021 11:05
This GitHub action doesn't create a release, it only tests if a static
build works on Ubuntu 20.04. Thus, using the name "static build" looks
more accurately describes what it does.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@rst0git rst0git force-pushed the automate-releases branch from ba33f2f to 967dbcb Compare June 29, 2021 11:17
This GitHub action creates a release in GitHub every time
the Version.txt file has been changed.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@rst0git rst0git force-pushed the automate-releases branch from 967dbcb to 6937349 Compare June 29, 2021 12:10
@mihaibudiu mihaibudiu merged commit df0ca8b into p4lang:main Jun 29, 2021
usha1830 pushed a commit to usha1830/p4c that referenced this pull request Aug 7, 2021
* Use version file

This commit create a VERSION file that can be used to obtain the current
version of P4C.

The current version string "1.2.0+g202103291035~a69e52" contains a semantic
version, date and current git commit. However, the date makes sense only in
packages. Building the same P4C compiler code on a different day should not
result in a different version name. The current git commit is automatically
from the git history.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>

* ci: rename 'release' action to 'static-build'

This GitHub action doesn't create a release, it only tests if a static
build works on Ubuntu 20.04. Thus, using the name "static build" looks
more accurately describes what it does.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>

* Enable automatic releases

This GitHub action creates a release in GitHub every time
the Version.txt file has been changed.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@rst0git rst0git deleted the automate-releases branch December 20, 2022 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0