Skip to content

Upload — Update-CurseForgeProjectFile #29

Description

Parent: #12

Implement Update-CurseForgeProjectFile for modifying existing uploaded files.

Acceptance criteria:

  • Update-CurseForgeProjectFile updates file metadata via PATCH /projects/{projectId}/files/{fileId}
  • -ProjectId (mandatory), -FileId (mandatory) parameters
  • Updateable fields: displayName, changelog, changelogType, gameVersions, releaseType
  • Returns updated file response
  • -WhatIf and -Confirm support via SupportsShouldProcess
  • Unit tests cover parameter validation and partial updates

  • Create src/functions/public/Upload/Update-CurseForgeProjectFile.ps1
  • Create tests/Upload/Update-CurseForgeProjectFile.Tests.ps1

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions