In the original 1974 rules everything did a d6, but variable weapon damage showed up in 1975 in Supplement I: Greyhawk, and has always been popular.
1977 Holmes Basic also uses d6 damage, and technically variable weapon damage is also an optional rule in 1981 B/X.
Some OSR games do damage by...