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

Added config for debian release with cargo deb #40

Merged
merged 2 commits into from
Oct 27, 2024
Merged

Conversation

Amjad50
Copy link
Owner

@Amjad50 Amjad50 commented Oct 27, 2024

Fixes #31 among other things not in issues

The resulting structure is:

├── control
│   ├── control
│   └── sha256sums
├── debian-binary
└── usr
    ├── bin
    │   ├── plastic
    │   └── plastic_tui
    └── share
        ├── applications
        │   └── plastic.desktop
        ├── doc
        │   └── plastic
        │       ├── copyright
        │       └── README.md
        ├── icons
        │   └── plastic-icon.png
        ├── licenses
        │   └── plastic
        │       └── LICENSE
        └── man
            └── man1
                └── plastic.1.gz

Also added:

  • auto release on push --tags
  • upload artifact to each run in master with the deb file

The resulting structure is:
```
├── control
│   ├── control
│   └── sha256sums
├── debian-binary
└── usr
    ├── bin
    │   ├── plastic
    │   └── plastic_tui
    └── share
        ├── applications
        │   └── plastic.desktop
        ├── doc
        │   └── plastic
        │       ├── copyright
        │       └── README.md
        ├── icons
        │   └── plastic-icon.png
        ├── licenses
        │   └── plastic
        │       └── LICENSE
        └── man
            └── man1
                └── plastic.1.gz
```

Signed-off-by: Amjad Alsharafi <[email protected]>
This was referenced Oct 27, 2024
@Amjad50 Amjad50 force-pushed the debian_release branch 2 times, most recently from 9891dfa to ab6e8da Compare October 27, 2024 09:13
@silverhadch
Copy link
Contributor

silverhadch commented Oct 27, 2024

@Amjad50 Looks great! Takes a lot of work away from me. So now every Realease a .deb packge with a new compiled binary will be created. Thats the only thing with the control file (version) that changes in the package.

@orhun a man page, icon and desktop file are now provided by this merged PR.

Copy link

codecov bot commented Oct 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.81%. Comparing base (979bbde) to head (7de9ea5).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #40   +/-   ##
=======================================
  Coverage   81.81%   81.81%           
=======================================
  Files          37       37           
  Lines        5352     5352           
=======================================
  Hits         4379     4379           
  Misses        973      973           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Amjad50 Amjad50 merged commit 98c57b4 into master Oct 27, 2024
4 checks passed
@Amjad50 Amjad50 deleted the debian_release branch October 27, 2024 09:42
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.

I am adding a Desktop File but the icon location would be nice.
2 participants