Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#736 closed defect (fixed)

Build target for official Dojo builds should prompt for version number

Reported by: James Burke Owned by: James Burke
Priority: high Milestone:
Component: BuildTools Version: 0.2
Keywords: Cc:
Blocked By: Blocking:

Description

I can change the ant build file to prompt for a build number and modify dojo.js to report this build number.

However, I need to know what command is used to generate the official builds. What I can do then is wrap that command in another target and that target can ask for the build number.

Alex, what command(s) do you do to generate the official builds?

Change History (4)

comment:1 Changed 13 years ago by alex

Hi James,

I tend to use some specialization of what's in buildscripts/build_release.sh

Regards

comment:2 Changed 13 years ago by James Burke

Owner: changed from anonymous to James Burke
Status: newassigned

comment:3 Changed 13 years ago by James Burke

Resolution: fixed
Status: assignedclosed

If you set -Dversion=x.x.x.flag when invoking ant to do a release, it will replace the version info that is in dojo.js. The default value is 0.0.0.dev, and this value will be used if the -Dversion=x.x.x.flag option is not used. I updated build_release.sh to show how to use the version option.

comment:4 Changed 12 years ago by (none)

Milestone: 0.3.1

Milestone 0.3.1 deleted

Note: See TracTickets for help on using tickets.