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

Automatic publishing to package managers #153

Closed
2 of 4 tasks
EncodedVenom opened this issue Nov 12, 2024 · 3 comments
Closed
2 of 4 tasks

Automatic publishing to package managers #153

EncodedVenom opened this issue Nov 12, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@EncodedVenom
Copy link
Collaborator

EncodedVenom commented Nov 12, 2024

Describe your Feature

This issue is about the addition of CI scripts that would automate publishing to supported platforms on release (wally, npm, pesde, etc). While we already have a wally CI script for this, we do not have such a script for npm or pesde.

Implementation

This would be implemented using the release CI script.

Alternatives

Publishing manually. This is relatively infeasible at scale for fairly obvious reasons.

Considerations

Successful implementation of this issue would resolve the problem of having to manually publish to all providers for the package.

Tasks

The following tasks need to be done for this issue to be complete:

@Ukendio specific:

Non-specific:

  • (Pesde) add manifest info
  • (Pesde) implement CI script
  • (npm) implement CI script
@EncodedVenom EncodedVenom added the enhancement New feature or request label Nov 12, 2024
@Mark-Marks
Copy link
Contributor

Mark-Marks commented Nov 12, 2024

Steps to get the pesde token on Windows:

  1. Install pesde
  2. pesde auth login
    Then due to Windows not allowing users to get tokens from the credential manager, you need to create a rust app to get the token.
  3. cargo create get-pesde-token
  4. cd get-pesde-token
  5. cargo add keyring -F windows-native
use keyring::{Entry, Result};
 
fn main() -> Result<()> {
    let entry = Entry::new("tokens", "pesde")?;
    let password = entry.get_password()?;
    println!("Password: {}", password);
    Ok(())
}
  1. cargo run
    Make sure to copy the entire token including Bearer.

cc @Ukendio

@Mark-Marks
Copy link
Contributor

Created #155 to add pesde support

@Ukendio Ukendio changed the title [FEATURE] Automatic publishing to package managers Automatic publishing to package managers Nov 14, 2024
@EncodedVenom
Copy link
Collaborator Author

With pesde support being cancelled and the npm support now live, this is now a successfully closed issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants