Skip to content
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

ci(build.yml): add Linux package hooks #40

Merged
merged 3 commits into from
Jun 17, 2023
Merged

Conversation

MarksonHon
Copy link
Contributor

@MarksonHon MarksonHon commented Jun 17, 2023

Background

Systemd services should be reload after installation and removing, and daed should be stopped before removing.

Checklist

Full changelog

  • [Implement ...]

Issue reference

Fix #[issue number]

@MarksonHon MarksonHon requested a review from a team as a code owner June 17, 2023 03:35
piyoki
piyoki previously approved these changes Jun 17, 2023
@piyoki piyoki added the ci label Jun 17, 2023
@piyoki piyoki changed the title build.yml: Add Linux package hooks ci(build.yml): add Linux package hooks Jun 17, 2023
chore: upgrade dae-wing (daeuniverse#41)

ci: add a workflow to synchronize upstream repositories (daeuniverse#43)

* ci: add a workflow to synchronize upstream dae-wing with workflow_dispatch

* ci(sync): fix sync commit message

* ci(sync): change name to Synchronize upstream

Co-authored-by: Kevin Yu <31861128+yqlbu@users.noreply.github.com>

* ci(sync): rename sync.yml to sync-upstream-source.yml

* ci(sync): change name to Synchronize Upstream

---------

Co-authored-by: Kevin Yu <31861128+yqlbu@users.noreply.github.com>

ci(sync): input variables should be retrived from inputs

ci(sync): should clone full history with fetch-depth: 0

ci(build.yml): fix upload to release
kunish
kunish previously approved these changes Jun 17, 2023
Copy link
Member

@kunish kunish left a comment

Choose a reason for hiding this comment

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

LGTM :)

Comment on lines -28 to -30
FILE=./daed-full-src.zip
DGST=$FILE.dgst
md5sum $FILE >>$DGST
shasum -a 1 $FILE >>$DGST
shasum -a 256 $FILE >>$DGST
shasum -a 512 $FILE >>$DGST
Copy link
Contributor

Choose a reason for hiding this comment

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

Why remove?

Copy link
Contributor

@mzz2017 mzz2017 Jun 17, 2023

Choose a reason for hiding this comment

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

image

Maybe you want to calculate all digests in one step, but I cannot see daed-full-src.zip.dgst. Something goes wrong?

Copy link
Contributor

Choose a reason for hiding this comment

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

c3abeb8 does not fix up the problem daed-full-src.zip should not be zipped again.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

daed-full-src.zip is actually zipped by the Action workflow, and when upload it to Action artifacts, it will be zipped again as daed-full-src.zip.zip, so in the last release job, we should only generate the dgst file for it, but not zip it again like web files.
图片

@mzz2017
Copy link
Contributor

mzz2017 commented Jun 17, 2023

@MarksonHon Could you please resolve these conflicts? I've ready to merge it.

@mzz2017 mzz2017 merged commit 7c39240 into daeuniverse:main Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants