Skip to content

Always try to push invalid tags#201

Description

@Jack-Works
馃  info @masknet/compartment is being published because our local version (0.2.2) has not been published on npm
馃  warn @masknet/intrinsic-snapshot is not being published because version 0.1.0 is already published on npm
馃  info @masknet/static-module-record-swc is being published because our local version (0.3.1) has not been published on npm
馃  info Publishing "@masknet/compartment" at "0.2.2"
馃  info Publishing "@masknet/static-module-record-swc" at "0.3.1"
馃  success packages published successfully:
馃  @masknet/compartment@0.2.2
馃  @masknet/static-module-record-swc@0.3.1
馃  Creating git tags...
馃  New tag:  @masknet/compartment@0.2.2
馃  New tag:  @masknet/static-module-record-swc@0.3.1
/usr/bin/git push origin --tags
To https://github.com/DimensionDev/aot-secure-ecmascript
 * [new tag]         @masknet/compartment@0.2.2 -> @masknet/compartment@0.2.2
 * [new tag]         @masknet/static-module-record-swc@0.3.1 -> @masknet/static-module-record-swc@0.3.1
Error: The process '/usr/bin/git' failed with exit code 1
    at m._setResult (/home/runner/work/_actions/changesets/action/v1/dist/index.js:102:7258)
    at m.CheckComplete (/home/runner/work/_actions/changesets/action/v1/dist/index.js:102:6686)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/changesets/action/v1/dist/index.js:102:5723)
    at ChildProcess.emit (events.js:314:20)
    at maybeClose (internal/child_process.js:1022:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
 ! [rejected]        @masknet/intrinsic-snapshot@0.1.0 -> @masknet/intrinsic-snapshot@0.1.0 (already exists)
error: failed to push some refs to 'https://github.com/DimensionDev/aot-secure-ecmascript'
hint: Updates were rejected because the tag already exists in the remote.
Error: The process '/usr/bin/git' failed with exit code 1

it should not try to tag and push existing package tags.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions