Skip to content

Commit

Permalink
Clarify upload instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Seb-MCaw committed Sep 24, 2024
1 parent 1e48f94 commit 821b422
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/alire/alire-publish.adb
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ package body Alire.Publish is
-- unknown, so we can only give generic instructions on where to
-- place the file.
Put_Info
("Please upload this to the index in the "
("Please upload this file to the index in the "
& TTY.URL (String (TOML_Index.Manifest_Path (Name)) & "/")
& " subdirectory.");
elsif not Settings.Builtins.User_Github_Login.Is_Empty then
Expand Down
10 changes: 5 additions & 5 deletions testsuite/tests/publish/private-indexes/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def test(
r".*Success: Your index manifest file has been generated.*",
# alr should provide instructions again, but they should be more
# generic, since we don't know where the private index is located.
r".*Please upload this to the index in the xx/xxx/ subdirectory.*",
r".*Please upload this file to the index in the xx/xxx/ subdirectory",
],
gen_manifest=[
r'.*url = "git\+https://github\.com/some_user/repo-name\.git".*',
Expand Down Expand Up @@ -247,7 +247,7 @@ def test(
num_confirms=2,
output=[
r".*Success: Your index manifest file has been generated.*",
r".*Please upload this to the index in the xx/xxx/ subdirectory.*",
r".*Please upload this file to the index in the xx/xxx/ subdirectory",
],
gen_manifest=[
r'.*url = "git@bitbucket\.org:/some_user/repo-name\.git".*',
Expand Down Expand Up @@ -295,7 +295,7 @@ def test(
num_confirms=2,
output=[
r".*Success: Your index manifest file has been generated.*",
r".*Please upload this to the index in the xx/xxx/ subdirectory.*",
r".*Please upload this file to the index in the xx/xxx/ subdirectory",
],
gen_manifest=[
r'.*url = "git\+https://github\.com/some_user/repo-name\.git".*',
Expand Down Expand Up @@ -337,7 +337,7 @@ def test(
num_confirms=2,
output=[
r".*Success: Your index manifest file has been generated.*",
r".*Please upload this to the index in the xx/xxx/ subdirectory.*",
r".*Please upload this file to the index in the xx/xxx/ subdirectory",
],
gen_manifest=[
r'.*url = "git\+https://github\.com/some_user/repo-name\.git".*',
Expand Down Expand Up @@ -379,7 +379,7 @@ def test(
num_confirms=2,
output=[
r".*Success: Your index manifest file has been generated.*",
r".*Please upload this to the index in the xx/xxx/ subdirectory.*",
r".*Please upload this file to the index in the xx/xxx/ subdirectory",
],
gen_manifest=[
r'.*url = "git\+https://github\.com/some_user/repo-name\.git".*',
Expand Down

0 comments on commit 821b422

Please sign in to comment.