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

add script to publish from tag #730

Merged

Conversation

maxhbr
Copy link
Member

@maxhbr maxhbr commented Jul 14, 2023

This probably would deserve a better placement, description and/or name

@maxhbr maxhbr force-pushed the add_script_to_publish_from_prerelease branch from 8a24096 to 6b29682 Compare July 14, 2023 19:07
echo " . ./venv/bin/activate"
echo " . ./venv/bin/activate.fish"
echo
echo "will try to avtivate..."
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
echo "will try to avtivate..."
echo "will try to activate..."

@maxhbr maxhbr force-pushed the add_script_to_publish_from_prerelease branch 2 times, most recently from 74f9a01 to adb7496 Compare July 17, 2023 11:52
Copy link
Collaborator

@armintaenzertng armintaenzertng left a comment

Choose a reason for hiding this comment

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

In #726, we add a dev directory on top-level, this script might be well placed there.

Comment on lines 26 to 31
if ! command -v twine &> /dev/null; then
echo "twine could not be found"
echo "maybe load venv with"
echo " . ./venv/bin/activate"
echo " . ./venv/bin/activate.fish"
echo
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe exit somewhere here? Else it will fail on line 49

@maxhbr maxhbr force-pushed the add_script_to_publish_from_prerelease branch 3 times, most recently from 349efb3 to 40fadd3 Compare July 20, 2023 08:36
Copy link
Collaborator

@armintaenzertng armintaenzertng left a comment

Choose a reason for hiding this comment

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

My point from before still stands, but I wouldn't consider this blocking. Your choice to merge :)

dev/publish_from_tag.sh Show resolved Hide resolved
Signed-off-by: Maximilian Huber <maximilian.huber@tngtech.com>
@armintaenzertng armintaenzertng merged commit ef31285 into spdx:main Jul 24, 2023
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.

2 participants