Lumberman Michael Dean recorded an Irish-American version for R. W. Gordon in 1924: http://www.minnesotafolksongcollection.org/item/mcd/a027 The reference to "Spain and Cuba" seems to place this version in the Spanish-American War (1898).