Skip to content

Commit

Permalink
Add --access public to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
nutjob4life committed Mar 4, 2024
1 parent aaa9e63 commit 7a37820
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/pds/roundup/_nodejs.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,10 @@ class _ArtifactPublicationStep(_NodeJSStep):
def execute(self):
try:
if self.assembly.isStable():
argv = ['npm', 'publish']
argv = ['npm', 'publish', '--verbose', '--access', 'public']
else:
argv = ['npm', 'publish', '--tag', 'unstable'] # In NASA-PDS/devops#69 @jordanpadams may prefer β
# In NASA-PDS/devops#69 @jordanpadams may prefer "beta" to "unstable"
argv = ['npm', 'publish', '--verbose', '--access', 'public', '--tag', 'unstable']
invoke(argv)
except InvokedProcessError:
# For unstalbe releases, we ignore this
Expand Down
2 changes: 0 additions & 2 deletions src/pds/roundup/_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ def execute(self):
class _DocsStep(_PythonStep):
'''A step that uses Sphinx to generate documentation'''
def execute(self):
_logger.warning('🥶 Here is the pip freeze before the doc build')
invoke(['pip', 'freeze'])
invoke(['/usr/local/bin/sphinx-build', '-a', '-b', 'html', 'docs/source', 'docs/build'])


Expand Down

0 comments on commit 7a37820

Please sign in to comment.