You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On "development" channel, I had successfully created version up to "1.0.0-development.178".
Something hosed this, and new releases are creating versions starting back at "1.0.0-development.1" (2, 3 etc.)
Expected behavior
Should still be creating new versions above "1.0.0-development.178"
/** * @type {import('semantic-release').GlobalConfig} *//** * INPUTS : * - Relies on the following environment variables, defined in release.yml, to publish to Capgo : * . CAPGO_APIKEY * . APPID * * OUTPUTS : * - The released version is written to a file named VERSION, for use in the Github Action workflow */exportdefault{branches: [// Production{name: "(release|release-*)",channel: "release",},// Pre-release branches{name: "(alpha|alpha-*)",channel: "alpha",prerelease: true,},{name: "(beta|beta-*)",channel: "beta",prerelease: true,},// Developer branches all update the 'development' channel and prerelease{name: "main",channel: "development",prerelease: "development",},{name: "(dev-*)",channel: "development",prerelease: true,},],ci: true,debug: true,dryRun: false,repositoryUrl: "https://github.com/RupertBarrow/colleurs-app",// prettier-ignoreverifyConditions: ["@semantic-release/github","@semantic-release/exec"// verify CapGo login],// prettier-ignoreplugins: [["@semantic-release/commit-analyzer",{preset: "angular",releaseRules: [{type: "breaking",release: "major"},{type: "feat",release: "minor"},{type: "fix",release: "patch"},{type: "ci",release: "patch"},{type: "doc",release: "patch"},{type: "docs",release: "patch"},{type: "refactor",scope: "core-*",release: "minor"},{type: "refactor",release: "patch"},{scope: "no-release",release: false},],},],"@semantic-release/release-notes-generator",["@semantic-release/changelog",{changelogFile: "CHANGELOG.md"}],// Commit these files to Git(hub) after they have been updated by semantic-release["@semantic-release/git",{assets: ["package.json","CHANGELOG.md","ios/App/App.xcodeproj/project.pbxproj"],message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",},],// Add the CHANGELOG.md file as an attachment to the Github release["@semantic-release/github",{assets: ["CHANGELOG.md"]}],// Deploy to CagGo : this deploys JS updates only// NB: XCode Cloud builds binary releases published to the App Store, triggered by the update of the CHANGELOG.md,// on the pre-release 'alpha*' or 'beta*' branches["@semantic-release/exec",{verifyConditionsCmd: "npx @capgo/cli login $CAPGO_APIKEY && npx @capgo/cli app set $APPID",prepareCmd: "npm run build:${branch.channel}",publishCmd: "npm add -D @capgo/cli && npx @capgo/cli bundle upload --channel ${branch.channel} --apikey $CAPGO_APIKEY --bundle ${nextRelease.version} --bundle-url $APPID",// Publish the released version on the Github Action workflow outputsuccessCmd: "echo v${nextRelease.version} > VERSION"},],],};
I need to force the next semantic-release version number to "v1.0.0-development.179" by fixing the git tags and related git notes. What procedure do you suggest ?
Current behavior
On "development" channel, I had successfully created version up to "1.0.0-development.178".
Something hosed this, and new releases are creating versions starting back at "1.0.0-development.1" (2, 3 etc.)
Expected behavior
Should still be creating new versions above "1.0.0-development.178"
semantic-release
version24.1.1
CI environment
GitHub Actions
Plugins used
semantic-release
configurationCI logs
The text was updated successfully, but these errors were encountered: